571e4fca63
Use the same field name for extracting all log messages to make it simpler to parse the output from fluentd. Closes-Bug: #1723459 Change-Id: I55b86061c8f70b25cf88e394fdfc78fa3c85c79f
11 lines
379 B
Django/Jinja
11 lines
379 B
Django/Jinja
# Note (blallau): to manage Apache and WSGI log files
|
|
{% set fluentd_dir = 'td-agent' if kolla_base_distro in ['ubuntu', 'debian'] else 'fluentd' %}
|
|
<source>
|
|
@type tail
|
|
path /var/log/kolla/*/*-access.log,/var/log/kolla/*/*-error.log
|
|
pos_file /var/run/{{ fluentd_dir }}/kolla-openstack-wsgi.pos
|
|
tag kolla.*
|
|
format /^(?<Payload>.*)$/
|
|
enable_watch_timer false
|
|
</source>
|