Merge "Fix fluentd config error"
This commit is contained in:
commit
3026cef7cf
@ -1,14 +1,12 @@
|
||||
<filter apache_access>
|
||||
@type parser
|
||||
reserve_data true
|
||||
format grok
|
||||
key_name message
|
||||
<parse>
|
||||
@type "grok"
|
||||
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
|
||||
</parse>
|
||||
</filter>
|
||||
|
||||
<filter apache_access>
|
||||
|
@ -1,12 +1,10 @@
|
||||
<filter wsgi_access>
|
||||
@type parser
|
||||
reserve_data true
|
||||
format grok
|
||||
key_name message
|
||||
<parse>
|
||||
@type "grok"
|
||||
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
|
||||
</parse>
|
||||
</filter>
|
||||
|
@ -1,12 +1,10 @@
|
||||
<filter openstack_python>
|
||||
@type parser
|
||||
reserve_data true
|
||||
format grok
|
||||
key_name message
|
||||
<parse>
|
||||
@type "grok"
|
||||
grok_pattern %{TIMESTAMP_ISO8601:Timestamp} %{NUMBER:Pid} %{LOGLEVEL:severity_label} %{NOTSPACE:python_module} \[req-(?:%{NOTSPACE:request_id}) (?:%{NOTSPACE:user_id}) (?:%{NOTSPACE:tenant_id}) .*\] %{GREEDYDATA:Payload}
|
||||
time_format "%Y-%m-%d %H:%M:%S.%L"
|
||||
time_key Timestamp
|
||||
keep_time_key true
|
||||
</parse>
|
||||
</filter>
|
||||
|
Loading…
Reference in New Issue
Block a user