Fix output plugin conf for mqtt
There were lots of little issues with the config file, this fixes those. Change-Id: If313f6953c896e0e5c30147a45214b6502f8e449
This commit is contained in:
parent
2249a61a17
commit
869918478f
@ -6,13 +6,13 @@ output {
|
|||||||
}
|
}
|
||||||
<% if @enable_mqtt -%>
|
<% if @enable_mqtt -%>
|
||||||
mqtt {
|
mqtt {
|
||||||
host => <%= @mqtt_hostname %>
|
host => "<%= @mqtt_hostname %>"
|
||||||
port => <%= @mqtt_port %>
|
port => <%= @mqtt_port %>
|
||||||
topic => <%= @mqtt_topic %>
|
topic => "<%= @mqtt_topic %>"
|
||||||
username => <%= @mqtt_username %>
|
username => "<%= @mqtt_username %>"
|
||||||
password => <%= @mqtt_password %>
|
password => "<%= @mqtt_password %>"
|
||||||
ssl => true
|
ssl => true
|
||||||
ca_file => "/etc/logstash/mqtt-root-CA.crt"
|
ca_file => "/etc/logstash/mqtt-root-CA.pem.crt"
|
||||||
}
|
}
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user