blob: 9549a6f77eac9f8e00badd729eaac258b71f9b7a [file] [log] [blame]
jan kaufman079a1802015-09-16 16:29:29 +02001applications:
2- heka
3_param:
4 heka_router_output_host: localhost
5 heka_router_input_host: localhost
6 heka_router_input_user: guest
7 heka_router_input_password: guest
8 heka_router_input_vhost: /heka
9 heka_router_input_exchange: logs
10
11parameters:
12 heka:
13 server:
14 enabled: true
15 input:
16 rabbitmq:
17 engine: amqp
18 host: ${_param:heka_router_input_host}
19 user: ${_param:heka_router_input_user}
20 password: ${_param:heka_router_input_password}
21 vhost: ${_param:heka_router_input_vhost}
22 exchange: ${_param:heka_router_input_exchange}
23 exchange_type: fanout
24 decoder: ProtoBufDecoder
25 splitter: HekaFramingSplitter
26 rsyslog-syslog:
27 engine: logstreamer
28 log_directory: /var/log
29 file_match: syslog\.?(?P<Index>\d+)?(.gz)?
30 decoder: RsyslogDecoder
31 priority: ["^Index"]
32 rsyslog-auth:
33 engine: logstreamer
34 log_directory: /var/log
35 file_match: auth\.log\.?(?P<Index>\d+)?(.gz)?
36 decoder: RsyslogDecoder
37 priority: ["^Index"]
38 decoder:
39 rsyslog:
40 engine: rsyslog
jan kaufman5149ad42015-09-16 17:30:08 +020041 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
jan kaufman079a1802015-09-16 16:29:29 +020042 hostname_keep: TRUE
jan kaufman5149ad42015-09-16 17:30:08 +020043 tz: Europe/Prague
jan kaufman079a1802015-09-16 16:29:29 +020044 output:
45 elasticsearch01:
46 engine: elasticsearch
47 host: ${_param:heka_router_output_host}
48 port: 9200
49 encoder: es_json
50 message_matcher: TRUE
51 dashboard01:
52 engine: dashboard
53 ticker_interval: 30
54 encoder:
55 es-json:
56 engine: es-json
57 message_matcher: TRUE
58 index: logfile-%{%Y.%m.%d}
59