blob: 75e44966d22a695f18a99f1e16fde542a8232e33 [file] [log] [blame]
jan kaufman079a1802015-09-16 16:29:29 +02001applications:
2- heka
3_param:
4 heka_shipper_output_host: localhost
5 heka_shipper_input_host: localhost
6 heka_shipper_input_user: guest
7 heka_shipper_input_password: guest
8 heka_shipper_input_vhost: /logs
9 heka_shipper_input_exchange: logs
10parameters:
11 heka:
12 server:
13 enabled: true
14 input:
15 rsyslog-syslog:
16 engine: logstreamer
17 log_directory: /var/log
18 file_match: syslog\.?(?P<Index>\d+)?(.gz)?
19 decoder: RsyslogDecoder
20 priority: ["^Index"]
21 rsyslog-auth:
22 engine: logstreamer
23 log_directory: /var/log
24 file_match: auth\.log\.?(?P<Index>\d+)?(.gz)?
25 decoder: RsyslogDecoder
26 priority: ["^Index"]
27 decoder:
28 rsyslog:
29 engine: rsyslog
jan kaufman5149ad42015-09-16 17:30:08 +020030 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
jan kaufman079a1802015-09-16 16:29:29 +020031 hostname_keep: TRUE
jan kaufman5149ad42015-09-16 17:30:08 +020032 tz: Europe/Prague
jan kaufman079a1802015-09-16 16:29:29 +020033 output:
34 rabbitmq:
35 engine: amqp
36 host: ${_param:heka_shipper_output_host}
37 user: ${_param:heka_shipper_output_user}
38 password: ${_param:heka_shipper_output_password}
39 vhost: ${_param:heka_shipper_output_vhost}
40 exchange: ${_param:heka_shipper_output_exchange}
41 exchange_type: fanout
42 encoder: ProtobufEncoder
43 use_framing: true
44 heka-logfile:
45 engine: logoutput
46 encoder: RstEncoder
47 message_matcher: TRUE
48 encoder:
49 heka-logfile:
50 engine: RstEncoder
51