Should ArgoCD logrus logs be in JSON format for a better integration with systems like Datadog? #18172
Closed
andrii-korotkov-verkada
started this conversation in
General
Replies: 1 comment
-
Turns out there's already an option for json log format #18113 (comment), |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I hope your day is going well.
While looking into #18113 and investigating why Datadog doesn't have some structured fields from logrus in appcontroller, I've realized that in my case there's a custom Grok parser set up, trying to extract the fields from raw logs https://docs.datadoghq.com/logs/log_configuration/parsing/, while Datadog recommends using JSON format https://docs.datadoghq.com/logs/log_collection/go/.
Is it reasonable to switch to JSON logs? They seem like they'd be easier to parse correctly and possibly not only by Datadog.
Alternatively, do you know how to properly set up Grok parser for ArgoCD logrus logs?
Beta Was this translation helpful? Give feedback.
All reactions