Merge "Altering indexer config to properly match on libvirtd files"

This commit is contained in:
Jenkins 2014-08-11 15:34:21 +00:00 committed by Gerrit Code Review
commit 6226b6d8d5

View File

@ -77,7 +77,7 @@ filter {
match => { "message" => "\[(?<logdate>%{DAY} %{MONTH} %{MONTHDAY} %{TIME} %{YEAR}%{SPACE}%{TZ}?)\]%{SPACE}\[%{LOGLEVEL:loglevel}\]%{SPACE}%{GREEDYDATA:logmessage}" }
add_field => { "received_at" => "%{@timestamp}" }
}
} else if "libvirtd" in [tags] {
} else if "libvirt" in [tags] {
grok {
# libvirtd grok filter adapted from
# https://github.com/OpenStratus/openstack-logstash/blob/master/agent.conf