Change regex for the multiline parser at the fluentd rabbitmq input
Related-Bug: #2015184 Closes-Bug: #2015184 Change-Id: I6ea0949d58e38e2cda41c9702001e7bd500f23f1
This commit is contained in:
parent
9a9c8fe794
commit
b9f2ad94a7
@ -6,7 +6,7 @@
|
|||||||
enable_watch_timer false
|
enable_watch_timer false
|
||||||
<parse>
|
<parse>
|
||||||
@type multiline
|
@type multiline
|
||||||
format_firstline /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}/
|
format_firstline /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}(\d+\+\d{2}:\d{2})?/
|
||||||
format1 /^(?<Timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}) \[(?<log_level>\w+)\] (?<Payload>.*)/
|
format1 /^(?<Timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3})(\d+\+\d{2}:\d{2})? \[(?<log_level>\w+)\] (?<Payload>.*)/
|
||||||
</parse>
|
</parse>
|
||||||
</source>
|
</source>
|
||||||
|
Loading…
Reference in New Issue
Block a user