DataDog / datadog-agent

Main repository for Datadog Agent
https://docs.datadoghq.com/
Apache License 2.0
2.87k stars 1.2k forks source link

Datadog Agent not recognizing DD_LOGS_CONFIG_PROCESSING_RULES environment variable #8149

Open marvinestreetmo opened 3 years ago

marvinestreetmo commented 3 years ago

Output of the info page (if this is a bug)

(Paste the output of the info page here)

Describe what happened: Nothing is happening.

Describe what you expected: I expect the log processor to filter and process logs based on the rules given.

Steps to reproduce the issue: I added the following environment variable to the datadog agent container (datadog/agent:7.26.0), in ECS running on Fagate: DD_LOGS_CONFIG_PROCESSING_RULES=[{"name":"exclude_healthcheck","pattern":".*GET / .*","type":"exclude_at_match"},{"name":"multiline_logs","pattern":"throw er.*","type":"multi_line"}]

Once this starts, the logs matching the healthcheck pattern still show and the multilines still show individually. Please advise on what I may be missing here. Thanks!

Additional environment details (Operating System, Cloud provider, etc): AWS, ECS, Fargate, datadog/agent:7.26.0

cheiff commented 2 years ago

Did you solve this?