Skip to content
Snippets Groups Projects
Commit 6ef31cf9 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Fluentd: reduce CPU and I/O consumption"

parents 2eafc4ca 498dab24
No related branches found
No related tags found
No related merge requests found
...@@ -51,4 +51,5 @@ ...@@ -51,4 +51,5 @@
time_key Timestamp time_key Timestamp
time_format %F %T.%L time_format %F %T.%L
ignore_repeated_permission_error true ignore_repeated_permission_error true
enable_watch_timer false
</source> </source>
...@@ -8,4 +8,5 @@ ...@@ -8,4 +8,5 @@
format_firstline /^\d{6}/ format_firstline /^\d{6}/
format1 /^(?<time>\d{6} \d{1,2}:\d{1,2}:\d{1,2}) \[(?<severity_label>\S+)\] (?<Payload>.*)/ format1 /^(?<time>\d{6} \d{1,2}:\d{1,2}:\d{1,2}) \[(?<severity_label>\S+)\] (?<Payload>.*)/
time_format %y%m%d %k:%M:%S time_format %y%m%d %k:%M:%S
enable_watch_timer false
</source> </source>
...@@ -8,4 +8,5 @@ ...@@ -8,4 +8,5 @@
format_firstline /^\s*$/ format_firstline /^\s*$/
format1 /^=(?<log_level>\w+) REPORT==== (?<Times>[^ ]+) ===\n/ format1 /^=(?<log_level>\w+) REPORT==== (?<Times>[^ ]+) ===\n/
format2 /^(?<Payload>.*)/ format2 /^(?<Payload>.*)/
enable_watch_timer false
</source> </source>
...@@ -6,4 +6,5 @@ ...@@ -6,4 +6,5 @@
pos_file /var/run/{{ fluentd_dir }}/kolla-openstack-wsgi.pos pos_file /var/run/{{ fluentd_dir }}/kolla-openstack-wsgi.pos
tag kolla.* tag kolla.*
format /^(?<message>.*)$/ format /^(?<message>.*)$/
enable_watch_timer false
</source> </source>
...@@ -7,4 +7,5 @@ ...@@ -7,4 +7,5 @@
format /^(?<Timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3}\+\d{4}): (?<Pid>\d+): (?<log_level>\S+) : (?<Payload>.*)?$/ format /^(?<Timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3}\+\d{4}): (?<Pid>\d+): (?<log_level>\S+) : (?<Payload>.*)?$/
time_key Timestamp time_key Timestamp
time_format %F %T.%L%z time_format %F %T.%L%z
enable_watch_timer false
</source> </source>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment