DataDog / serilog-sinks-datadog-logs

Serilog Sink that sends log events to Datadog https://www.datadoghq.com/
Apache License 2.0
60 stars 42 forks source link

Add parameter specyfing whether to map Serilog key words to Datadog reserved attributes #57

Closed BartoszChrostowski closed 4 months ago

BartoszChrostowski commented 3 years ago

Fix #56

Add attribute so that the user can specify whether to rename Serilogs attributes RenderedMessage to message and Level to level.

When using the current default pipeline for csharp source, those attributes should not be mapped.

jszwedko commented 4 months ago

Closing since this is an old PR, but feel free to reopen if this is still relevant to you 🙂

BartoszChrostowski commented 3 months ago

@jszwedko impossible for me to test it, i do not remember exact setup. I see that in provided Pipeline screenshot the message is mapped, as far as I remember it was not present in pipeline 3y ago (and was not possible to change on free version or on some cheaper tier (i do not exact reason)). It is not relevant to me. Thanks for clearing things up 👍

edit: As in #56, yes the pipeline on Datadog side was updated and resolved this problem and no further changes in this sink are needed.