blob: 04d2933c6326def4aeba51fc36362850776f6a57 [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 kaufman079a1802015-09-16 16:29:29 +020016 decoder:
17 rsyslog:
18 engine: rsyslog
jan kaufman5149ad42015-09-16 17:30:08 +020019 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
jan kaufman079a1802015-09-16 16:29:29 +020020 hostname_keep: TRUE
jan kaufman5149ad42015-09-16 17:30:08 +020021 tz: Europe/Prague
jan kaufman079a1802015-09-16 16:29:29 +020022 output:
23 rabbitmq:
24 engine: amqp
25 host: ${_param:heka_shipper_output_host}
26 user: ${_param:heka_shipper_output_user}
27 password: ${_param:heka_shipper_output_password}
28 vhost: ${_param:heka_shipper_output_vhost}
29 exchange: ${_param:heka_shipper_output_exchange}
30 exchange_type: fanout
31 encoder: ProtobufEncoder
32 use_framing: true
jan kaufmancf02d1d2015-09-18 20:13:35 +020033 message_matcher: "TRUE"
jan kaufmanc727e062015-09-17 16:21:33 +020034 filter: {}
jan kaufman96165fc2015-09-17 16:22:47 +020035 splitter: {}