blob: 283f245a160a76eba401418cc2a1e21e4e601168 [file] [log] [blame]
jan kaufman896c3452016-01-26 15:36:55 +01001heka:
2 server:
3 enabled: true
4 input:
5 rabbitmq:
6 engine: amqp
7 host: ${_param:heka_router_input_host}
8 user: ${_param:heka_router_input_user}
9 password: ${_param:heka_router_input_password}
10 vhost: ${_param:heka_router_input_vhost}
11 port: 5672
12 exchange: ${_param:heka_router_input_exchange}
13 exchange_type: fanout
14 decoder: ProtoBufDecoder
15 splitter: HekaFramingSplitter
16 prefetch_count: 80
17 rsyslog_syslog:
18 engine: logstreamer
19 log_directory: /var/log
20 file_match: '(?P<Service>daemon\.log|cron\.log|mail\.log|kern\.log|auth\.log|syslog|messages|debug)\.?(?P<Index>\d+)?(.gz)?'
21 priority: '["^Index"]'
22 differentiator: '[ "rsyslog-", "Service" ]'
23 decoder: RsyslogDecoder
24 oldest_duration: "168h"
25 decoder:
26 rsyslog:
27 engine: rsyslog
28 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
29 hostname_keep: TRUE
30 tz: Europe/Prague
31 type: rsyslog
32 ProtoBufDecoder:
33 engine: protobuf
34 output:
35 elasticsearch01:
36 engine: elasticsearch
37 host: ${_param:heka_router_output_host}
38 port: 9200
39 encoder: es_json
40 message_matcher: "Logger != 'hekad'"
41 flush_count: 50
42 flush_interval: 500
43 enabled: true
44 dashboard01:
45 engine: dashboard
46 ticker_interval: 30
47 enabled: true
48 rabbitmq:
49 enabled: false
50 encoder:
51 es_json:
52 engine: es-json
53 es_payload:
54 engine: es-payload
55