Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Nginx parser fails to parse default nginx format #471

Closed
yaron-idan opened this issue Mar 22, 2018 · 1 comment
Closed

Nginx parser fails to parse default nginx format #471

yaron-idan opened this issue Mar 22, 2018 · 1 comment

Comments

@yaron-idan
Copy link
Contributor

When trying to parse a default nginx log, the parser fails because it lacks the last field in the log ("$http_x_forwarded_for")
This can be fix by removing this field from nginx.conf, but I think a more appropriate solution would be to add this field to the regexp. WDYT?

Reproducing the issue can be easily done by launching fluentd and sending a log line from nginx:latest docker image.

@fujimotos
Copy link
Member

I think I can close this ticket, since #1932 has been merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants