]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
added elasticsearch
authorsamuel.bufe <samuel.bufe@publicispixelpark.de>
Tue, 9 Aug 2016 15:29:48 +0000 (17:29 +0200)
committersamuel.bufe <samuel.bufe@publicispixelpark.de>
Tue, 9 Aug 2016 15:29:48 +0000 (17:29 +0200)
customer/elk/common.yaml

index 6ed7ccbc4694bbb06718cbee2521008148329f93..79145a1648e6ad52e61127aac5de5616644d657e 100644 (file)
@@ -2,10 +2,34 @@
 site::role: base
 site::additional_classes:
   - redis
+  - elasticsearch
   - site::profile::logstash
 
 redis::bind: 0.0.0.0
 
+elasticsearch::manage_repo: true
+elasticsearch::restart_on_change: true
+elasticsearch::instance:
+  es-01
+
+elasticsearch::config:
+  cluster.name: "elk-logstash"
+  node.name: %{fqdn}
+  node.master: true
+  node.data: true
+  index.number_of_shards: 2
+  bootstrap.mlockall: true
+  indices.memory.index_buffer_size: "50%"
+  path.data: /opt/database/data/elastisearch/data
+  index.translog.flush_threshold_ops: 50000
+  threadpool.search.type: fixed
+  threadpool.search.size: 20
+  threadpool.search.queue_size: 100
+  threadpool.index.type: fixed
+  threadpool.index.size: 60
+  threadpool.index.queue_size: 200
+
+
 logstash::manage_repo: true
 logstash::java_install: true