Update log metrics config for Logstash downgrade

The format for the Logstash Kafka output plugin worker count is
integer in Logstash 2 and string in Logstash 5. Since we have downgraded
Logstash we need to switch formats here.

Change-Id: I98113dda05bbb44410916c27d7d3bcd59a034a98
Partially-Implements: blueprint monasca-roles
This commit is contained in:
Doug Szumski 2018-10-02 15:00:48 +01:00
parent 0992c6b55a
commit 47136af545

View File

@ -71,6 +71,6 @@ output {
bootstrap_servers => "{{ monasca_kafka_servers }}"
topic_id => "{{ monasca_metrics_topic }}"
client_id => "log_metrics_{{ ansible_hostname }}"
workers => "{{ monasca_log_pipeline_threads }}"
workers => {{ monasca_log_pipeline_threads|int }}
}
}