From b1dee2d85bd4ad6f73bdc08e24309213f9988706 Mon Sep 17 00:00:00 2001 From: Doug Szumski <doug@stackhpc.com> Date: Fri, 21 Sep 2018 09:51:44 +0000 Subject: [PATCH] Increase maximum payload size for Monasca Log API Increase the maximum payload size so that it slightly exceeds the default maximum chunk size (8MB) in Fluentd. This prevents the Monasca Log API dropping logs when under heavy load. Partially-Implements: blueprint monasca-roles Change-Id: I13020abde7de1c92acc07352466b814b4a6ce5bc --- ansible/roles/monasca/templates/monasca-log-api/log-api.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/monasca/templates/monasca-log-api/log-api.conf.j2 b/ansible/roles/monasca/templates/monasca-log-api/log-api.conf.j2 index f76835ab24..8cd5073a8b 100644 --- a/ansible/roles/monasca/templates/monasca-log-api/log-api.conf.j2 +++ b/ansible/roles/monasca/templates/monasca-log-api/log-api.conf.j2 @@ -5,6 +5,8 @@ debug = {{ monasca_logging_debug }} [service] region = {{ openstack_region_name }} +# Increase the maximum payload size to slightly above the default Fluentd chunk size (8MB) +max_log_size = 10485760 [kafka_healthcheck] kafka_topics = {{ monasca_raw_logs_topic }}