a32cddca49
WSGI log files use a different input configuration than OpenStack log files. Currently this depends on log files matching either *-access.log or *-error.log. Some services use *_access.log or *_error.log, so are not parsed correctly. This change modifies the fluentd configuration to accept an underscore or hyphen for WSGI log file names. Change-Id: I566d6cac0b6749054fd5422ec8f36f99dacb1db7 Closes-Bug: #1720371
10 lines
346 B
Django/Jinja
10 lines
346 B
Django/Jinja
# Note (blallau): to manage Apache and WSGI log files
|
|
<source>
|
|
@type tail
|
|
path /var/log/kolla/*/*-access.log,/var/log/kolla/*/*-error.log,/var/log/kolla/*/*_access.log,/var/log/kolla/*/*_error.log
|
|
pos_file /var/run/{{ fluentd_binary }}/kolla-openstack-wsgi.pos
|
|
tag kolla.*
|
|
format /^(?<Payload>.*)$/
|
|
enable_watch_timer false
|
|
</source>
|