From: Oliver Böttcher Date: Wed, 19 Jul 2017 09:33:58 +0000 (+0200) Subject: ODT - logstash teilenews X-Git-Tag: v0.1.0~2666^2~94^2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=60524aeaf75e0737a8d5c4931600a1cadbb96210;p=pixelpark%2Fhiera.git ODT - logstash teilenews --- 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