Merge "Enable buffering to file for Monasca logs"
This commit is contained in:
commit
d9cf6a3fa2
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Fluentd now buffers logs locally to file when the Monasca API is
|
||||||
|
unreachable.
|
Loading…
Reference in New Issue
Block a user