From 05e97ad67ba1bd8d98a9dad584710136ea0ca221 Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Wed, 15 Nov 2017 20:32:08 +0200 Subject: [PATCH] Add errors file to be indexed by logstash In tripleo we grep for errors in logs and put them in one file. This patch is for indexing only errors file in logstash server. Change-Id: I95021ca826c75d7750bc2e56243ecc638bc1a502 --- roles/submit-logstash-jobs/defaults/main.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/submit-logstash-jobs/defaults/main.yaml b/roles/submit-logstash-jobs/defaults/main.yaml index e6f9e75d58..df2acda0cc 100644 --- a/roles/submit-logstash-jobs/defaults/main.yaml +++ b/roles/submit-logstash-jobs/defaults/main.yaml @@ -70,6 +70,10 @@ logstash_processor_config: tags: - console - postci + - name: var/log/extra/errors\.txt + tags: + - console + - errors # wildcard logs - name: devstack-gate-.*\.txt tags: