diff --git a/elk_metrics_6x/templates/_include_log_stash_output.yml.j2 b/elk_metrics_6x/templates/_include_log_stash_output.yml.j2 index 25e269da..582ca4a5 100644 --- a/elk_metrics_6x/templates/_include_log_stash_output.yml.j2 +++ b/elk_metrics_6x/templates/_include_log_stash_output.yml.j2 @@ -43,7 +43,7 @@ output.logstash: # less than or equal to 0 disables the splitting of batches. When splitting # is disabled, the queue decides on the number of events to be contained in a # batch. - bulk_max_size: {{ elastic_thread_pool_size * 256 }} + bulk_max_size: {{ (elastic_thread_pool_size | int) * 256 }} {% if named_index is defined %} # Optional index name. The default index name is set to {{ named_index }}