mirror of
https://github.com/krislamo/graylog_demo
synced 2024-11-09 21:50:35 +00:00
defer the parsing of httpd messages until after the message is stored (this allows the whole message to appear in graylog, as well as being parsed)
This commit is contained in:
parent
550aaafa4f
commit
e509d3bad6
@ -15,10 +15,20 @@
|
|||||||
pos_file /var/log/td-agent/access_log.pos
|
pos_file /var/log/td-agent/access_log.pos
|
||||||
tag httpd.access
|
tag httpd.access
|
||||||
<parse>
|
<parse>
|
||||||
@type apache2
|
@type none
|
||||||
</parse>
|
</parse>
|
||||||
</source>
|
</source>
|
||||||
|
|
||||||
|
<filter httpd.access>
|
||||||
|
@type parser
|
||||||
|
key_name message
|
||||||
|
reserve_data true
|
||||||
|
<parse>
|
||||||
|
@type apache2
|
||||||
|
</parse>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
|
||||||
<match devel.*>
|
<match devel.*>
|
||||||
@type copy
|
@type copy
|
||||||
<store>
|
<store>
|
||||||
|
Loading…
Reference in New Issue
Block a user