X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a92c80c41d88faa20123f2841cc335c37905f638..6067e264a06f3714bc6096dd26400174aecb65fd:/roles/logstash.rb?ds=sidebyside diff --git a/roles/logstash.rb b/roles/logstash.rb index dabe91379..9e421fc8d 100644 --- a/roles/logstash.rb +++ b/roles/logstash.rb @@ -2,12 +2,25 @@ name "logstash" description "Role applied to all logstash servers" default_attributes( - :apt => { - :sources => ["logstash"] + :elasticsearch => { + :cluster => { + :name => "logstash" + }, + :version => "6.x" + }, + :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]" )