Worker logs missing headers + user-agent DataDog

Context: I want to send worker logs into DataDog that include a user agent and request headers.

I'm sending logs with a logpush job to DataDog using the following endpoint: http-intake.logs.datadoghq.com/api/v2/logs

I see that the request headers that we need are present in the worker's dashboard's Real-Time Logs, particularly user-agent, but they're not there in DataDog.

I have a logpush job which includes Event field, so I would expect to see the whole object in the source destination (Datadog).

In Datadog I only see these fields inside the Event object:

RayID, Request [Method, URL], Response [Status], EventTimestampMs, and EventType.
I have no jobs that change the fields on Datadog's side.

What exactly am I missing? Does anyone have a clue?
Screenshot_2024-02-28_at_16.29.12.png
blobid2.png
Was this page helpful?