X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a92c80c41d88faa20123f2841cc335c37905f638..a406b373ee9a85b2f79e187b582379326b7b70d2:/cookbooks/logstash/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/logstash/attributes/default.rb b/cookbooks/logstash/attributes/default.rb index 9a56f3836..1b97ce335 100644 --- a/cookbooks/logstash/attributes/default.rb +++ b/cookbooks/logstash/attributes/default.rb @@ -1,3 +1,6 @@ -default[:logstash][:forwarder][:network][:servers] = ["logstash.openstreetmap.org:5043"] -default[:logstash][:forwarder][:network][:"ssl ca"] = "/var/lib/logstash-forwarder/lumberjack.crt" -default[:logstash][:forwarder][:files] = [] +default[:logstash][:forwarder]["output.logstash"]["hosts"] = ["logstash.openstreetmap.org:5044"] +default[:logstash][:forwarder]["output.logstash"]["ssl.certificate_authorities"] = "/etc/filebeat/filebeat.crt" +default[:logstash][:forwarder]["output.logstash"]["ssl.verification_mode"] = "none" +default[:logstash][:forwarder]["filebeat.inputs"] = [] + +default[:elasticsearch][:cluster][:name] = "logstash"