kolla-ansible/ansible/roles/common/templates/conf/format/apache_access.conf.j2
Bertrand Lallau 4cfe5f8de1 Fluentd: remove apache record_transformer filter
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
2017-10-04 14:13:05 +00:00

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>