danthegoodman1 / icedb

An in-process Parquet merge engine for better data warehousing in S3
https://blog.danthegoodman.com/icedb-v2
112 stars 4 forks source link

DataDog spoof api #93

Open danthegoodman1 opened 11 months ago

danthegoodman1 commented 11 months ago

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 commented 11 months ago

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

danthegoodman1 commented 11 months ago

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 commented 11 months ago

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