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 -%>