From 60524aeaf75e0737a8d5c4931600a1cadbb96210 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Wed, 19 Jul 2017 11:33:58 +0200 Subject: [PATCH] ODT - logstash teilenews --- .../int-odt-daimler-com.pixelpark.net.yaml | 22 +++++++++++++++++++ 1 file changed, 22 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 ac6757b1..5d4a1cf2 100644 --- a/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml +++ b/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml @@ -6,6 +6,7 @@ infra::additional_classes: - apache::mod::remoteip - apache::mod::headers - infra::profile::cron + - logstash accounts::users: jenkins: @@ -88,3 +89,24 @@ infra::profile::cron::cronjobs: minute: 0 hour: 5 description: um 05:00 Uhr wird die Revocationlist vom User openemm geholt. somit muss der Webserver restarted werden + + +logstash::filter: + - journald + +logstash::generic_resource: + mbvd-teilenews-service: + resource: pipe + order: 10 + parameters: + command: '/bin/journalctl -o cat -fl -u mbvd-teilenews-service.service' + type: webapp + tags: + - 'int' + - "%{customer}" + - "mbvd-teilenews-service" + codec: + type: multiline + what: previous + pattern: "^%%{ich-trickse}{TIMESTAMP_ISO8601}" + negate: true -- 2.39.5