#jinja2: trim_blocks: False {% if fluentd_enabled_input_openstack_services | length > 0 -%} @type tail path {% for service in fluentd_enabled_input_openstack_services %}/var/log/kolla/{{ service }}/*.log{% if not loop.last %},{% endif %}{% endfor %} exclude_path ["/var/log/kolla/monasca/agent*.log", "/var/log/kolla/monasca/grafana.log", "/var/log/kolla/monasca/monasca-log-api.log", "/var/log/kolla/neutron/dnsmasq.log", "/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.pos tag kolla.* format 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+|-)\]/ format1 /^(?\S+ \S+) (?\d+) (?\S+) (?\S+) (\[(req-(?\S+) (?\S+) (?\S+) (?\S+) (?\S+) (?\S+)|-)\])? (?.*)?$/ time_key Timestamp keep_time_key true time_format %F %T.%L ignore_repeated_permission_error true enable_watch_timer false {%- endif %}