4cfe5f8de1
Record transformer is used to add a 'Severity' field in event. This Field is unused and not generated for other programs, hence It can be removed safely. Change-Id: I62e461e5006516dcbd6c64e1770d6936f9a9d55c
11 lines
350 B
Django/Jinja
11 lines
350 B
Django/Jinja
<filter apache_access>
|
|
@type parser
|
|
reserve_data true
|
|
format grok
|
|
key_name message
|
|
grok_pattern \[%{HTTPDATE:Timestamp}\] "(?:%{WORD:http_method} %{NOTSPACE:http_url}(?: HTTP/%{NUMBER:http_version})?|%{DATA:rawrequest})" %{NUMBER:http_status} (?:\d+|-)
|
|
time_key Timestamp
|
|
time_format %d/%b/%Y:%H:%M:%S %z
|
|
keep_time_key true
|
|
</filter>
|