Merge "Fix the fluentd regexp to collect the logs"
This commit is contained in:
commit
0fc3418b8f
@ -15,8 +15,8 @@
|
|||||||
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} \d+ \S+ \S+ \[(req-\S+ \S+ \S+ \S+ \S+ \S+|-)\]/
|
format_firstline /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3} \d+ \S+ \S+ \[.*\]/
|
||||||
format1 /^(?<Timestamp>\S+ \S+) (?<Pid>\d+) (?<log_level>\S+) (?<python_module>\S+) (\[(req-(?<request_id>\S+) (?<user_id>\S+) (?<tenant_id>\S+) (?<domain_id>\S+) (?<user_domain>\S+) (?<project_domain>\S+)|-)\])? (?<Payload>.*)?$/
|
format1 /^(?<Timestamp>\S+ \S+) (?<Pid>\d+) (?<log_level>\S+) (?<python_module>\S+) \[(\S+ req-)?((?<request_id>\S+) (?<user_id>\S+) (?<tenant_id>\S+) (?<domain_id>\S+) (?<system_scope>\S+) (?<user_domain>\S+) (?<project_domain>\S+)|-)\] (?<Payload>.*)?$/
|
||||||
time_key Timestamp
|
time_key Timestamp
|
||||||
keep_time_key true
|
keep_time_key true
|
||||||
time_format %F %T.%L
|
time_format %F %T.%L
|
||||||
|
Loading…
x
Reference in New Issue
Block a user