Replies: 1 comment
-
Hi, I would suggest to mount the logs in a volume that way you won't have to struggle with the mixed formatting. |
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 have nginx running in docker. It writes the event log from the container to stdout in docker format.
{"log":"10.5.29.8 - - [04/Jan/2023:09:45:56 +0000] \"GET /statistic HTTP/1.1\" 499 0 \"-\" \"curl/7.61.1\" \"-\" 0.088 88 0.088 \n", "stream":"stdout", "time":"2023-01-04T09:45:56.136555042Z"}
prometheus-nginxlog-exporter cannot parse this format:
My config file:
What is the correct
format
for this case?Thanks you!
Beta Was this translation helpful? Give feedback.
All reactions