DataDog spoof api
danthegoodman1 opened this issue · 3 comments
Similar to qryn for simple log ingestion from something like cloudflare worker logpush for the datadog api. See https://docs.datadoghq.com/api/latest/logs/ and https://developers.cloudflare.com/logs/get-started/enable-destinations/datadog/
This is how you change it: https://blog.qryn.dev/cloudflare-log-push-with-qryncloud
If qryn ends up using IceDB then this wont be needed
Gotta figure out how to get severity and such... the docs aren't great
See https://docs.datadoghq.com/logs/log_configuration/attributes_naming_convention/#reserved-attributes
We get status
to determine the level, see https://docs.datadoghq.com/logs/log_configuration/processors/?tab=ui#log-status-remapper for the levels (and remapping needed)
For sending multiple you get an array of JSON to the endpoint