Logstash grok pattern for custom nginx access log

I have a custom format of nginx access.log and I want to parse it with logstash.

The format of the access log is the following:

log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                  '$status $body_bytes_sent "$http_referer" '
                  '"$http_user_agent" "$http_x_forwarded_for" ';

I was not able to find what kind of grok match pattern to use. Any idea of how can I deal with it?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.