From: samuel.bufe Date: Tue, 9 Aug 2016 15:29:48 +0000 (+0200) Subject: added elasticsearch X-Git-Tag: v0.1.0~4341 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=55472fdb65828e5d3553872acf9e4407df4c7a38;p=pixelpark%2Fhiera.git added elasticsearch --- diff --git a/customer/elk/common.yaml b/customer/elk/common.yaml index 6ed7ccbc..79145a16 100644 --- a/customer/elk/common.yaml +++ b/customer/elk/common.yaml @@ -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