Merge "fix error multiline folding for indexing"
This commit is contained in:
commit
f50fd1bbff
@ -39,7 +39,12 @@ filter {
|
|||||||
negate => false
|
negate => false
|
||||||
# NOTE(mriedem): oslo.log 1.2.0 changed the logging_exception_prefix
|
# NOTE(mriedem): oslo.log 1.2.0 changed the logging_exception_prefix
|
||||||
# config option from using TRACE to ERROR so we have to handle both.
|
# config option from using TRACE to ERROR so we have to handle both.
|
||||||
pattern => "^%{TIMESTAMP_ISO8601}%{SPACE}%{NUMBER}?%{SPACE}?(TRACE|ERROR)"
|
#
|
||||||
|
# NOTE(sdague): stack traces always include process id, so
|
||||||
|
# NUMBER being required element here is important, otherwise
|
||||||
|
# ERROR messages just fold into the previous messages, which are
|
||||||
|
# typically INFO.
|
||||||
|
pattern => "^%{TIMESTAMP_ISO8601}%{SPACE}%{NUMBER}%{SPACE}(TRACE|ERROR)"
|
||||||
what => "previous"
|
what => "previous"
|
||||||
stream_identity => "%{host}.%{filename}"
|
stream_identity => "%{host}.%{filename}"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user