blob: 606fe29939ddb85b3a0549ef9eadfd01d4b94aa8 [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
30 template: %TIMESTAMP% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n
31 hostname_keep: TRUE
32 tz = Europe/Prague
33 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