icedb icon indicating copy to clipboard operation
icedb copied to clipboard

DataDog spoof api

Open danthegoodman1 opened this issue 1 year ago • 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

danthegoodman1 avatar Aug 17 '23 14:08 danthegoodman1

Gotta figure out how to get severity and such... the docs aren't great

danthegoodman1 avatar Aug 17 '23 14:08 danthegoodman1

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)

danthegoodman1 avatar Aug 17 '23 14:08 danthegoodman1

For sending multiple you get an array of JSON to the endpoint

danthegoodman1 avatar Aug 17 '23 14:08 danthegoodman1