Merge "Enable buffering to file for Monasca logs"

This commit is contained in:
Zuul 2020-03-10 09:45:55 +00:00 committed by Gerrit Code Review
commit d9cf6a3fa2
3 changed files with 14 additions and 0 deletions

View File

@ -43,6 +43,9 @@
domain_id default domain_id default
project_name {{ monasca_control_plane_project }} project_name {{ monasca_control_plane_project }}
message_field_name Payload message_field_name Payload
buffer_type file
buffer_path /var/lib/fluentd/data/monasca.buffer/{{ syslog_swift_facility }}.*
max_retry_wait 1800s
</store> </store>
{% endif %} {% endif %}
</match> </match>
@ -94,6 +97,9 @@
domain_id default domain_id default
project_name {{ monasca_control_plane_project }} project_name {{ monasca_control_plane_project }}
message_field_name Payload message_field_name Payload
buffer_type file
buffer_path /var/lib/fluentd/data/monasca.buffer/{{ syslog_haproxy_facility }}.*
max_retry_wait 1800s
</store> </store>
{% endif %} {% endif %}
</match> </match>

View File

@ -10,5 +10,8 @@
domain_id default domain_id default
project_name {{ monasca_control_plane_project }} project_name {{ monasca_control_plane_project }}
message_field_name Payload message_field_name Payload
buffer_type file
buffer_path /var/lib/fluentd/data/monasca.buffer/openstack.*
max_retry_wait 1800s
</store> </store>
</match> </match>

View File

@ -0,0 +1,5 @@
---
features:
- |
Fluentd now buffers logs locally to file when the Monasca API is
unreachable.