]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
deuwo prd immobilienimport to logstash
authorSascha <sascha.strassheim@pixelpark.com>
Mon, 30 Jul 2018 12:28:47 +0000 (14:28 +0200)
committerSascha <sascha.strassheim@pixelpark.com>
Mon, 30 Jul 2018 12:28:47 +0000 (14:28 +0200)
customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml

index 65e0caa20f31598bb42e4639dd416a8a066f89c9..3bcdc3497ff35bcf801bc4232a7be0d5e2dbf593 100644 (file)
@@ -6,6 +6,7 @@ infra::additional_classes:
   - infra::profile::postfix
   - logstash
   - infra::profile::clamav
+  - logstash
 
 #  - zabbix::agent
 
@@ -153,3 +154,13 @@ infra::profile::clamav::clamd_options:
   OnAccessPrevention: 'yes'
   OnAccessExtraScanning: 'yes'
   VirusEvent: '/bin/echo "ClamAV REPORT: Virus %v found! File: $CLAM_VIRUSEVENT_FILENAME" | mail -s "Virus found" 8x5@pixelpark.com'
+
+logstash::generic_resource:
+  flugdaten:
+    resource: file
+    order: 10  #  Input
+    parameters:
+      path: '/var/log/deuwo/deuwo_import.log'
+      type: immobilien
+      tags:
+        - "%{customer}"