blob: 9ea9c8f658c726a489523e1c4a787139bb45967a [file] [log] [blame]
jan kaufman079a1802015-09-16 16:29:29 +02001applications:
2- heka
3_param:
jan kaufman079a1802015-09-16 16:29:29 +02004parameters:
5 heka:
6 server:
7 enabled: true
8 input:
jan kaufman42322ac2015-09-18 21:01:06 +02009 rsyslog_syslog:
jan kaufman079a1802015-09-16 16:29:29 +020010 engine: logstreamer
11 log_directory: /var/log
jan kaufman515e44c2015-11-23 17:04:31 +010012 file_match: '(?P<Service>daemon\.log|cron\.log|mail\.log|kern\.log|auth\.log|syslog|messages|debug)\.?(?P<Index>\d+)?(.gz)?'
jan kaufman8f8c5442015-09-19 18:51:49 +020013 priority: ["^Index"]
jan kaufmaneed00eb2015-11-23 15:57:44 +010014 differentiator: [ "rsyslog-", "Service" ]
jan kaufmanf1af4f32015-11-19 19:10:14 +010015 decoder: RsyslogDecoder
jan kaufmana45ce592015-12-02 18:07:40 +010016 oldest_duration: "168h"
jan kaufman079a1802015-09-16 16:29:29 +020017 decoder:
18 rsyslog:
19 engine: rsyslog
jan kaufman5149ad42015-09-16 17:30:08 +020020 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
jan kaufman079a1802015-09-16 16:29:29 +020021 hostname_keep: TRUE
jan kaufman5149ad42015-09-16 17:30:08 +020022 tz: Europe/Prague
jan kaufmanb3e76242015-11-25 10:52:54 +010023 type: rsyslog
jan kaufman079a1802015-09-16 16:29:29 +020024 output:
25 rabbitmq:
26 engine: amqp
27 host: ${_param:heka_shipper_output_host}
28 user: ${_param:heka_shipper_output_user}
29 password: ${_param:heka_shipper_output_password}
30 vhost: ${_param:heka_shipper_output_vhost}
31 exchange: ${_param:heka_shipper_output_exchange}
32 exchange_type: fanout
33 encoder: ProtobufEncoder
34 use_framing: true
jan kaufmancf02d1d2015-09-18 20:13:35 +020035 message_matcher: "TRUE"
jan kaufman60b26cf2015-11-24 15:29:22 +010036 enabled: True
jan kaufmanc727e062015-09-17 16:21:33 +020037 filter: {}
jan kaufman96165fc2015-09-17 16:22:47 +020038 splitter: {}