Home / Companies / Datadog / Blog / Post Details
Content Deep Dive

Leverage Cloudflare logs for cost optimization, troubleshooting, and security

Blog post from Datadog

Post Details
Company
Date Published
Author
Nicholas Thomson
Word Count
2,037
Language
English
Hacker News Points
-
Summary

Cloudflare is a content delivery network (CDN) that helps businesses accelerate, protect, and optimize their websites, applications, and APIs. Cloudflare logs provide detailed insights into HTTP requests, including origin and response metadata, as well as security, TLS, and encryption information. The logs are structured as JSON objects, with each entry representing a single HTTP request processed by Cloudflare. Key fields in the log include EdgeStartTimestamp, EdgeEndTimestamp, ClientRequestQuery, EdgeResponseStatus, CacheStatus, OriginIP, OriginTLSVersion, OriginResponseDurationMs, WAFAction, BotScore, and ThreatScore. These fields can be used to monitor Cloudflare logs for debugging and troubleshooting, managing cost, security monitoring and threat detection, compliance and auditing, and monitoring in a unified platform with Datadog.