blob: b9a1c86c91626ca69847e5f980f8c0ba8c8e2d42 [file] [log] [blame]
jan kaufman896c3452016-01-26 15:36:55 +01001heka:
2 server:
3 enabled: true
4 input:
5 rsyslog_syslog:
6 engine: logstreamer
7 log_directory: /var/log
8 file_match: '(?P<Service>daemon\.log|cron\.log|mail\.log|kern\.log|auth\.log|syslog|messages|debug)\.?(?P<Index>\d+)?(.gz)?'
9 priority: ["^Index"]
10 differentiator: [ "rsyslog-", "Service" ]
11 decoder: RsyslogDecoder
12 oldest_duration: "168h"
13 decoder:
14 rsyslog:
15 engine: rsyslog
16 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
17 hostname_keep: TRUE
18 tz: Europe/Prague
19 type: rsyslog
20 output:
21 rabbitmq:
22 engine: amqp
23 host: ${_param:heka_shipper_output_host}
24 user: ${_param:heka_shipper_output_user}
25 password: ${_param:heka_shipper_output_password}
26 vhost: ${_param:heka_shipper_output_vhost}
27 exchange: ${_param:heka_shipper_output_exchange}
28 exchange_type: fanout
29 encoder: ProtobufEncoder
30 use_framing: true
31 message_matcher: "TRUE"
32 enabled: True
33 filter: {}
34 splitter: {}
35