mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-15 15:32:35 +02:00
parent
08dc28e304
commit
50a3418d7f
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
filter {
|
filter {
|
||||||
grok {
|
grok {
|
||||||
match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:syslog_message}" }
|
overwrite => [ "message" ]
|
||||||
|
match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:message}" }
|
||||||
add_field => [ "received_at", "%{@timestamp}" ]
|
add_field => [ "received_at", "%{@timestamp}" ]
|
||||||
add_field => [ "received_from", "%{host}" ]
|
add_field => [ "received_from", "%{host}" ]
|
||||||
add_field => [ "program", "%{syslog_program}" ]
|
add_field => [ "program", "%{syslog_program}" ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue