From ab8d4cf1a9e3a19d47ac914b4b4699298c44cbef Mon Sep 17 00:00:00 2001 From: "samuel.bufe" Date: Fri, 2 Sep 2016 14:24:59 +0200 Subject: [PATCH] added searchguard config --- customer/elk/common.yaml | 29 +++++++++++++++++++++++ customer/elk/vm-elk-01.pixelpark.net.yaml | 21 ---------------- customer/elk/vm-elk-02.pixelpark.net.yaml | 21 ---------------- 3 files changed, 29 insertions(+), 42 deletions(-) delete mode 100644 customer/elk/vm-elk-01.pixelpark.net.yaml delete mode 100644 customer/elk/vm-elk-02.pixelpark.net.yaml diff --git a/customer/elk/common.yaml b/customer/elk/common.yaml index 493e6583..0c4d0068 100644 --- a/customer/elk/common.yaml +++ b/customer/elk/common.yaml @@ -27,6 +27,35 @@ elasticsearch::plugins: 'com.floragunn/search-guard-2/2.3.5.5': instances: '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 + http.port: '9200' + http.enabled: "true" + http.host: 0.0.0.0 + transport.host: 0.0.0.0 + discovery.zen.ping.unicast.hosts: ["93.188.104.53","93.188.104.52"] + searchguard.ssl.transport.keystore_type: PKCS12 + searchguard.ssl.transport.keystore_filepath: wildcard.pixelpark.net-cert2016.p12 + searchguard.ssl.transport.keystore_password: pixel + searchguard.ssl.transport.truststore_type: PKCS12 + searchguard.ssl.transport.truststore_filepath: wildcard.pixelpark.net-cert2016.p12 + searchguard.ssl.transport.truststore_password: pixel + + logstash::manage_repo: true logstash::repo_version: "2.3" logstash::java_install: true diff --git a/customer/elk/vm-elk-01.pixelpark.net.yaml b/customer/elk/vm-elk-01.pixelpark.net.yaml deleted file mode 100644 index 13be1040..00000000 --- a/customer/elk/vm-elk-01.pixelpark.net.yaml +++ /dev/null @@ -1,21 +0,0 @@ -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 - http.port: '9200' - http.enabled: "true" - http.host: 0.0.0.0 - transport.host: 0.0.0.0 - discovery.zen.ping.unicast.hosts: ["93.188.104.53"] diff --git a/customer/elk/vm-elk-02.pixelpark.net.yaml b/customer/elk/vm-elk-02.pixelpark.net.yaml deleted file mode 100644 index ab0e95bd..00000000 --- a/customer/elk/vm-elk-02.pixelpark.net.yaml +++ /dev/null @@ -1,21 +0,0 @@ -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 - http.port: '9200' - http.enabled: "true" - http.host: 0.0.0.0 - transport.host: 0.0.0.0 - discovery.zen.ping.unicast.hosts: ["93.188.104.52"] -- 2.39.5