90e13efd65
Depends-On: 810fcdd28669bbd317c290d498d590ddb2c32f65 Change-Id: I88eff57448cc29ddff0f301f210623b2309e6b4d Closes-Bug: #1663126
11 lines
483 B
Django/Jinja
11 lines
483 B
Django/Jinja
<filter wsgi_access>
|
|
@type parser
|
|
reserve_data true
|
|
format grok
|
|
key_name message
|
|
grok_pattern %{IPORHOST:clientip} %{HTTPDUSER:ident} %{USER:auth} \[%{HTTPDATE:Timestamp}\] "(?:%{WORD:http_method} %{NOTSPACE:http_url}(?: HTTP/%{NUMBER:http_version})?|%{DATA:rawrequest})" %{NUMBER:http_status} (?:%{NUMBER:http_bytes}|-) (?:%{NUMBER:http_response_time_us}|-) %{QS:referrer} %{QS:agent}
|
|
time_key Timestamp
|
|
time_format %d/%b/%Y:%H:%M:%S %z
|
|
keep_time_key true
|
|
</filter>
|