]> git.openstreetmap.org Git - chef.git/blobdiff - roles/logstash.rb
Replace jakelong with gorwen but using jakelong's IP addresses
[chef.git] / roles / logstash.rb
index dabe91379febbe3a64af0e056b73a269d03a15f4..b5cbac83630910bb098a2a944afa92d9d7c38ae1 100644 (file)
@@ -2,12 +2,19 @@ name "logstash"
 description "Role applied to all logstash servers"
 
 default_attributes(
-  :apt => {
-    :sources => ["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]"
 )