From 869918478f51d0b6d5f1cab8e6961ee4f0c37387 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Wed, 21 Sep 2016 10:11:00 -0400 Subject: [PATCH] Fix output plugin conf for mqtt There were lots of little issues with the config file, this fixes those. Change-Id: If313f6953c896e0e5c30147a45214b6502f8e449 --- .../templates/logstash/output.conf.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/openstack_project/templates/logstash/output.conf.erb b/modules/openstack_project/templates/logstash/output.conf.erb index 3f17ca70e4..fed1eb2243 100644 --- a/modules/openstack_project/templates/logstash/output.conf.erb +++ b/modules/openstack_project/templates/logstash/output.conf.erb @@ -6,13 +6,13 @@ output { } <% if @enable_mqtt -%> mqtt { - host => <%= @mqtt_hostname %> + host => "<%= @mqtt_hostname %>" port => <%= @mqtt_port %> - topic => <%= @mqtt_topic %> - username => <%= @mqtt_username %> - password => <%= @mqtt_password %> + topic => "<%= @mqtt_topic %>" + username => "<%= @mqtt_username %>" + password => "<%= @mqtt_password %>" ssl => true - ca_file => "/etc/logstash/mqtt-root-CA.crt" + ca_file => "/etc/logstash/mqtt-root-CA.pem.crt" } <% end -%>