From 55472fdb65828e5d3553872acf9e4407df4c7a38 Mon Sep 17 00:00:00 2001 From: "samuel.bufe" Date: Tue, 9 Aug 2016 17:29:48 +0200 Subject: [PATCH] added elasticsearch --- customer/elk/common.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 -- 2.39.5