Handle mulitline console log lines.
* modules/openstack_project/templates/logstash/agent.conf.erb: Add multiline filters to properly capture multiline log lines that do not include their own timestamp. Change-Id: I127e327cf6bdde580dcdfbe185f77fae3bd8d2c5 Reviewed-on: https://review.openstack.org/26530 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
3ca843d707
commit
43244bcba3
@ -16,6 +16,16 @@ filter {
|
||||
negate => true
|
||||
match => ["@message", "^</?pre>$"]
|
||||
}
|
||||
multiline {
|
||||
type => "jenkins_console"
|
||||
pattern => "^\"'$"
|
||||
what => "previous"
|
||||
}
|
||||
multiline {
|
||||
type => "jenkins_console"
|
||||
pattern => "^Extracting templates from packages"
|
||||
what => "previous"
|
||||
}
|
||||
grok {
|
||||
type => "jenkins_console"
|
||||
pattern => [ "%{DATESTAMP:logdate} \| %{GREEDYDATA:logmessage}" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user