Merge "Altering indexer config to properly match on libvirtd files"
This commit is contained in:
commit
6226b6d8d5
@ -77,7 +77,7 @@ filter {
|
|||||||
match => { "message" => "\[(?<logdate>%{DAY} %{MONTH} %{MONTHDAY} %{TIME} %{YEAR}%{SPACE}%{TZ}?)\]%{SPACE}\[%{LOGLEVEL:loglevel}\]%{SPACE}%{GREEDYDATA:logmessage}" }
|
match => { "message" => "\[(?<logdate>%{DAY} %{MONTH} %{MONTHDAY} %{TIME} %{YEAR}%{SPACE}%{TZ}?)\]%{SPACE}\[%{LOGLEVEL:loglevel}\]%{SPACE}%{GREEDYDATA:logmessage}" }
|
||||||
add_field => { "received_at" => "%{@timestamp}" }
|
add_field => { "received_at" => "%{@timestamp}" }
|
||||||
}
|
}
|
||||||
} else if "libvirtd" in [tags] {
|
} else if "libvirt" in [tags] {
|
||||||
grok {
|
grok {
|
||||||
# libvirtd grok filter adapted from
|
# libvirtd grok filter adapted from
|
||||||
# https://github.com/OpenStratus/openstack-logstash/blob/master/agent.conf
|
# https://github.com/OpenStratus/openstack-logstash/blob/master/agent.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user