Log and store upload events in R2 with event notifications
/r2/tutorials/upload-logs-event-notifications
Mở tutorial / guide ↗ Open tutorial / guide ↗Lộ trình đang học Current learning path
Developer Platform Developer Platform
Build và deploy apps trên Cloudflare. Build and deploy apps on Cloudflare.
Phần 4: Vận hành và bước tiếp Part 4: Operate and level up · Bài 1/2 Lesson 1/2
Bật Cloudflare Web Analytics cho traffic. Dùng `wrangler tail` hoặc observability khi debug API. Enable Cloudflare Web Analytics for traffic. Use `wrangler tail` or observability when debugging APIs.
Edge app cần observability khác server truyền thống — tail logs và analytics là bước vận hành cơ bản. Edge apps need different observability than traditional servers — tail logs and analytics are baseline ops.
Bật Workers Logs và Traces trước khi lên production — dùng structured JSON trong `console.log` để tìm kiếm/lọc trên dashboard Observability. Enable Workers Logs and Traces before production — use structured JSON in `console.log` for searchable, filterable logs in the Observability dashboard.
Nguồn: Source: Workers Best Practices Workers Best Practices ↗
Ví dụ chính thức từ Cloudflare Resources — gợi ý theo chủ đề bài học trong lộ trình này. Official examples from Cloudflare Resources — matched to this lesson within this path.
/r2/tutorials/upload-logs-event-notifications
Mở tutorial / guide ↗ Open tutorial / guide ↗/cloudflare-one/tutorials/detect-mcp-traffic-gateway-logs
Mở tutorial / guide ↗ Open tutorial / guide ↗/reference-architecture/diagrams/ai/ai-multivendor-observability-control
Mở tutorial / guide ↗ Open tutorial / guide ↗/cloudflare-one/tutorials/r2-logs
Mở tutorial / guide ↗ Open tutorial / guide ↗Xem thêm ví dụ trong lộ trình → More examples in this path →
Ba lộ trình độc lập — mỗi lộ trình chỉ gồm bài học và tài liệu trong phạm vi đó. Chọn lộ trình khác khi sẵn sàng, không cần học song song. Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel.
Bảo vệ và tăng tốc website, application và API Protect and accelerate websites, applications, and APIs
Vào lộ trình này → Enter this path →Bảo vệ users, access, SaaS và mạng doanh nghiệp Secure users, access, SaaS, and corporate networks
Vào lộ trình này → Enter this path →Chưa chắc — làm bài chọn lộ trình Not sure — use the path selector · So sánh cả ba lộ trình Compare all three paths