From 36e3665e35f512ca11cfa4e38c56380a4fbc7d4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Thu, 27 Jul 2017 12:03:54 +0200 Subject: [PATCH] ODT - journal2logstash --- .../int-odt-daimler-com.pixelpark.net.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml b/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml index df228e6f..2139cf64 100644 --- a/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml +++ b/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml @@ -112,3 +112,18 @@ logstash::generic_resource: what: previous pattern: "^%%{ich-trickse}{TIMESTAMP_ISO8601}" negate: true + odt-newsletter-service: + resource: pipe + order: 10 + parameters: + command: '/bin/journalctl -o cat -fl -u odt-newsletter-service.service' + type: webapp + tags: + - 'int' + - "%{customer}" + - "odt-newsletter-service" + codec: + type: multiline + what: previous + pattern: "^%%{ich-trickse}{TIMESTAMP_ISO8601}" + negate: true -- 2.39.5