X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a92c80c41d88faa20123f2841cc335c37905f638..54817d1f97d837a7b740c805661388a03b8ffe22:/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"