From f9e4b5d7a4cc86fbfd1152a3d13cefbf06af9a06 Mon Sep 17 00:00:00 2001 From: Michael Schmid Date: Fri, 23 Oct 2020 08:03:18 -0400 Subject: [PATCH] higher timeout for logstash --- services/logs2logs-db/pipeline/lagoon-logs.conf | 1 + services/logs2logs-db/pipeline/router-application-logs.conf | 2 ++ services/logs2logs-db/pipeline/service-logs.conf | 1 + 3 files changed, 4 insertions(+) diff --git a/services/logs2logs-db/pipeline/lagoon-logs.conf b/services/logs2logs-db/pipeline/lagoon-logs.conf index 281baac788..2d4405c2bc 100644 --- a/services/logs2logs-db/pipeline/lagoon-logs.conf +++ b/services/logs2logs-db/pipeline/lagoon-logs.conf @@ -41,6 +41,7 @@ output { user => admin password => "${LOGSDB_ADMIN_PASSWORD}" hosts => ["${ELASTICSEARCH_URL}"] + timeout => 3600 index => "lagoon-logs-%{[project]}-%{+YYYY.MM}" template => "/usr/share/logstash/templates/lagoon-logs.json" template_name => "lagoon-logs" diff --git a/services/logs2logs-db/pipeline/router-application-logs.conf b/services/logs2logs-db/pipeline/router-application-logs.conf index 72fa433c96..a5cc6a868e 100644 --- a/services/logs2logs-db/pipeline/router-application-logs.conf +++ b/services/logs2logs-db/pipeline/router-application-logs.conf @@ -92,6 +92,7 @@ output { user => admin password => "${LOGSDB_ADMIN_PASSWORD}" hosts => ["${ELASTICSEARCH_URL}"] + timeout => 3600 index => "router-logs-%{[openshift_project]}-%{+YYYY.MM}" template => "/usr/share/logstash/templates/router-logs.json" template_name => "router-logs" @@ -103,6 +104,7 @@ output { user => admin password => "${LOGSDB_ADMIN_PASSWORD}" hosts => ["${ELASTICSEARCH_URL}"] + timeout => 3600 index => "application-logs-%{[openshift_project]}-%{+YYYY.MM}" template => "/usr/share/logstash/templates/application-logs.json" template_name => "application-logs" diff --git a/services/logs2logs-db/pipeline/service-logs.conf b/services/logs2logs-db/pipeline/service-logs.conf index 18f8c2ff90..40baa0f1b8 100644 --- a/services/logs2logs-db/pipeline/service-logs.conf +++ b/services/logs2logs-db/pipeline/service-logs.conf @@ -19,6 +19,7 @@ output { user => admin password => "${LOGSDB_ADMIN_PASSWORD}" hosts => ["${ELASTICSEARCH_URL}"] + timeout => 3600 index => "service-logs-%{+YYYY.MM}" template => "/usr/share/logstash/templates/service-logs.json" template_name => "service-logs"