e7ff199dcf
We really want elasticsearch or monasca to catch all logs, to providd the required centrailsed logging. While these appears to make little material difference, it should make it harder for logs to not get caught by any of the outputs we have configured. TrivialFix Change-Id: I3bb74dcdc3cbe78cd1e1657f44e2a0af9d6508ef
30 lines
1.0 KiB
Django/Jinja
30 lines
1.0 KiB
Django/Jinja
<match **>
|
|
@type copy
|
|
<store>
|
|
@type elasticsearch
|
|
host {{ elasticsearch_address }}
|
|
port {{ elasticsearch_port }}
|
|
scheme {{ fluentd_elasticsearch_scheme }}
|
|
{% if fluentd_elasticsearch_path != '' %}
|
|
path {{ fluentd_elasticsearch_path }}
|
|
{% endif %}
|
|
{% if fluentd_elasticsearch_scheme == 'https' %}
|
|
ssl_version {{ fluentd_elasticsearch_ssl_version }}
|
|
ssl_verify {{ fluentd_elasticsearch_ssl_verify }}
|
|
{% if fluentd_elasticsearch_cacert | length > 0 %}
|
|
ca_file {{ fluentd_elasticsearch_cacert }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if fluentd_elasticsearch_user != '' and fluentd_elasticsearch_password != ''%}
|
|
user {{ fluentd_elasticsearch_user }}
|
|
password {{ fluentd_elasticsearch_password }}
|
|
{% endif %}
|
|
logstash_format true
|
|
logstash_prefix {{ kibana_log_prefix }}
|
|
flush_interval 15s
|
|
reconnect_on_error true
|
|
buffer_type file
|
|
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/openstack.*
|
|
</store>
|
|
</match>
|