$http_x_forwarded_for
field missing from nginx parser plugin format
#1907
Labels
enhancement
Feature request or improve operations
fluentd v1.1.2
Linux / Docker
When receiving a log from nginx, I get the following message -
fluentd_1 | 2018-03-22 18:07:49 +0000 [warn]: #0 pattern not match: "172.18.0.1 - - [22/Mar/2018:18:07:49 +0000] \"GET / HTTP/1.1\" 200 612 \"-\" \"curl/7.54.0\" \"-\""
If I swap the format configuration to the one listed in the plugin docs and add the last field like so the log level goes through -
I find this a bit strange since the last field (
$http_x_forwarded_for
) has been part of the default nginx logging for a long time. Is there a real reason for omitting this line from the plugins format?If the field needs adding, I'm cool with opening the PR for it. Just wanted to check up before starting to work on it.
The text was updated successfully, but these errors were encountered: