From 07401e84086dea28a0c6d7cb3a1fd7f0b94011c3 Mon Sep 17 00:00:00 2001 From: ac2550 Date: Mon, 10 Sep 2018 15:32:48 +0200 Subject: Upgrade ELK to 6.1.3 Issue-ID: CLAMP-219 Change-Id: I2545d92b92e9a805122ca54d103865d12769cfe8 Signed-off-by: ac2550 --- extra/docker/elk/logstash-conf/logstash.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extra/docker/elk/logstash-conf/logstash.conf') diff --git a/extra/docker/elk/logstash-conf/logstash.conf b/extra/docker/elk/logstash-conf/logstash.conf index 0a2caf2f1..a56c5c2eb 100644 --- a/extra/docker/elk/logstash-conf/logstash.conf +++ b/extra/docker/elk/logstash-conf/logstash.conf @@ -28,8 +28,8 @@ input { } socket_timeout => 30 request_timeout => 30 - interval => 60 codec => "plain" + schedule => { "every" => "1m" } } } @@ -93,15 +93,15 @@ output { if [http_request_failure] { elasticsearch { codec => "json" - hosts => [elasticsearch] + hosts => ["${elasticsearch_hosts}"] index => "errors-%{+YYYY.MM.DD}" doc_as_upsert => true } } else { elasticsearch { codec => "json" - hosts => [elasticsearch] - index => "logstash-%{+YYYY.MM.DD}" # creates daily indexes + hosts => ["${elasticsearch_hosts}"] + index => "events-%{+YYYY.MM.DD}" # creates daily indexes doc_as_upsert => true } -- cgit 1.2.3-korg