X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a92c80c41d88faa20123f2841cc335c37905f638..b5f1516eba7a79f6f3ec6d7eb5e3517f544cda3f:/roles/logstash.rb?ds=inline diff --git a/roles/logstash.rb b/roles/logstash.rb index dabe91379..860e015ff 100644 --- a/roles/logstash.rb +++ b/roles/logstash.rb @@ -4,10 +4,25 @@ description "Role applied to all logstash servers" default_attributes( :apt => { :sources => ["logstash"] + }, + :elasticsearch => { + :cluster => { + :name => "logstash" + } + }, + :kibana => { + :sites => { + :logstash => { + :site => "logstash.openstreetmap.org", + :port => 5601, + :elasticsearch_url => "http://127.0.0.1:9200/" + } + } } ) run_list( "role[elasticsearch]", + "role[kibana]", "recipe[logstash]" )