Make fluentd-elasticsearch configuration more robust
Enable reconnect_on_error option so that ES plugin re-establishes a new session to the ES cluster on errors. Also, enable buffering to the file, so that the buffer survives container restarts. Co-Authored-By:Michal Nasiadka <mnasiadka@gmail.com> Co-Authored-By:
Radosław Piliszek <radoslaw.piliszek@gmail.com> Co-Authored-By:
Doug Szumski <doug@stackhpc.com> Closes-Bug: #1830724 Change-Id: Ia40685b9d4fc02194e03c8791ddeb3d29d7f07f6
Showing
- ansible/roles/common/defaults/main.yml 1 addition, 0 deletionsansible/roles/common/defaults/main.yml
- ansible/roles/common/templates/conf/output/00-local.conf.j2 6 additions, 0 deletionsansible/roles/common/templates/conf/output/00-local.conf.j2
- ansible/roles/common/templates/conf/output/01-es.conf.j2 3 additions, 0 deletionsansible/roles/common/templates/conf/output/01-es.conf.j2
- ansible/roles/common/templates/fluentd.json.j2 5 additions, 0 deletionsansible/roles/common/templates/fluentd.json.j2
Loading
Please register or sign in to comment