1
0
mirror of https://github.com/krislamo/graylog_demo synced 2024-09-19 21:50:36 +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:
Bob Belnap 2020-03-20 10:44:38 -04:00
parent 550aaafa4f
commit e509d3bad6

View File

@ -15,10 +15,20 @@
pos_file /var/log/td-agent/access_log.pos
tag httpd.access
<parse>
@type apache2
@type none
</parse>
</source>
<filter httpd.access>
@type parser
key_name message
reserve_data true
<parse>
@type apache2
</parse>
</filter>
<match devel.*>
@type copy
<store>