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