Skip to content

no metrics but all nginx log parameters appear #310

Answered by martin-helmich
tek0101 asked this question in Q&A
Discussion options

You must be logged in to vote

At a quick glance: In your exporter config there are two spaces before \"$http_user_agent\", instead of one (like in the NGINX config); this will most likely cause the generated regex to not match any of the log lines, because the exporter will then also expect double spaces in your log lines.

Hope that helps.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tek0101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #309 on January 16, 2023 20:42.