f19eb7de88
By default a retry limit of 17 exists. When the limit is reached buffered logs are discarded. To avoid this, we disable the retry limit. The risk of bringing down the host by filling the Fluent data docker volume is managed by the maximum buffer size which is 2GB by default. In summary, after this change, the net behaviour is that Fluentd should buffer up to a maximum of 2GB of logs locally, and attept to post them to the Monasca Log API at intervals not exceeding 30 minutes. Closes-Bug: #1855702 Change-Id: I0d5a3dab29635c00411f4f51e5a0721726df2abd
19 lines
653 B
Django/Jinja
19 lines
653 B
Django/Jinja
<match *.**>
|
|
type copy
|
|
<store>
|
|
@type monasca
|
|
keystone_url {{ keystone_internal_url }}
|
|
monasca_log_api {{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ monasca_log_api_port }}
|
|
monasca_log_api_version v3.0
|
|
username {{ monasca_agent_user }}
|
|
password {{ monasca_agent_password }}
|
|
domain_id default
|
|
project_name {{ monasca_control_plane_project }}
|
|
message_field_name Payload
|
|
buffer_type file
|
|
buffer_path /var/lib/fluentd/data/monasca.buffer/openstack.*
|
|
max_retry_wait 1800s
|
|
disable_retry_limit true
|
|
</store>
|
|
</match>
|