venus/devstack/fluentd-conf/format/apache_access.conf
baiziyu 4d59bc461c Add devstack support
Add some scripts that devstack needs.

Change-Id: I8b9ad477ba0d2d9d581f90c67d5b46b32a4c66a3
2021-03-16 09:33:36 +08:00

11 lines
350 B
Plaintext

<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>