cloudflare / cloudflare-docs

Cloudflare’s documentation
https://developers.cloudflare.com
Creative Commons Attribution 4.0 International
3.12k stars 4.91k forks source link

Datadog timestamp format #13254

Closed thibaultkrebs closed 8 months ago

thibaultkrebs commented 9 months ago

Which Cloudflare product does this pertain to?

Logs

Existing documentation URL(s)

https://developers.cloudflare.com/logs/get-started/enable-destinations/datadog/

What changes are you suggesting?

In the document, there is the following statement:

In Advanced Settings, you can change the Timestamp format (RFC3339(default),Unix, or UnixNano), [Sampling rate](https://developers.cloudflare.com/logs/get-started/api-configuration/#sampling-rate) and enable redaction for CVE-2021-44228.

In Datadog, the timestamp nano and seconds format is not handed by our system. It would be great to add in your doc, that from the Logpull_option we do only manage RFC3339(default).

Additional information

I am a Datadog engineer working on our log product, and we had questions about this case. I have updated also our public doc to reflect this.

You can refer here: https://docs.datadoghq.com/logs/guide/logs-not-showing-expected-timestamp/

There are specific date formats to follow for the remapping to work. The recognized date formats are: [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html), [UNIX (the milliseconds EPOCH format)](https://en.wikipedia.org/wiki/Unix_time), and [RFC3164](https://www.ietf.org/rfc/rfc3164.txt).
angelampcosta commented 8 months ago

@thibaultkrebs thank you for raising this issue. We updated the documentation in https://github.com/cloudflare/cloudflare-docs/pull/13292

thibaultkrebs commented 8 months ago

Great, thank you very much for the update!