X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a92c80c41d88faa20123f2841cc335c37905f638..cc045c868bf15083df4db4442c0d92814441951e:/cookbooks/logstash/attributes/default.rb 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"