blob: 07834f7aa11f0d6d4993acecc394108def3d1e1a [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
41 template: %TIMESTAMP% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n
42 hostname_keep: TRUE
43 tz = Europe/Prague
44 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