X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/75f4f224fbe305d36c223c2fb03e285a49c1d3a7..b7f67ceb48b5f0fc94e9a9db74ddcf4a98a50fe9:/roles/logstash.rb?ds=sidebyside diff --git a/roles/logstash.rb b/roles/logstash.rb index 0c3d9ce10..b5cbac836 100644 --- a/roles/logstash.rb +++ b/roles/logstash.rb @@ -2,17 +2,19 @@ name "logstash" 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]" )