Skip to content
Snippets Groups Projects
  • Stig Telfer's avatar
    ffb4767c
    Increase the Fluentd request timeout for ES · ffb4767c
    Stig Telfer authored
    Fluentd has a default timeout of 5s for flushing data to ElasticSearch.
    If there is a significant backlog of unsent log messages, this timeout
    can be exceeded, resulting in Fluentd failing to make further progress.
    
    Raise the default timeout to 60s.
    
    This patch adopts the configuration parameters previously proposed by
    Krzysztof Klimonda.
    
    Closes-Bug: #1983031
    Closes-Bug: #1896611
    Change-Id: I1aaab654a5a0752fccef2cfb8cc0bde4a0ee2562
    ffb4767c
    History
    Increase the Fluentd request timeout for ES
    Stig Telfer authored
    Fluentd has a default timeout of 5s for flushing data to ElasticSearch.
    If there is a significant backlog of unsent log messages, this timeout
    can be exceeded, resulting in Fluentd failing to make further progress.
    
    Raise the default timeout to 60s.
    
    This patch adopts the configuration parameters previously proposed by
    Krzysztof Klimonda.
    
    Closes-Bug: #1983031
    Closes-Bug: #1896611
    Change-Id: I1aaab654a5a0752fccef2cfb8cc0bde4a0ee2562
fluentd-elasticsearch-request-timeout-f110883dd4412f65.yaml 525 B
---
fixes:
  - |
    Under circumstances of extended disruption to the Fluentd-ElasticSearch
    central logging pipeline, it is possible to generate a sufficient buffer
    of unsent log data that takes longer than the default Fluentd request
    timeout (default 5 seconds) to transfer the buffer.  The default request
    timeout value is raised to ``60s``, and made configurable using new
    parameter ``fluentd_elasticsearch_request_timeout``. `LP#1983031
    <https://bugs.launchpad.net/kolla-ansible/+bug/1983031>`__