blob: 5d910b203321215ed517e471516cf08bfb7b21df [file] [log] [blame]
jan kaufman079a1802015-09-16 16:29:29 +02001applications:
2- heka
3_param:
jan kaufman079a1802015-09-16 16:29:29 +02004parameters:
5 heka:
6 server:
7 enabled: true
8 input:
9 rabbitmq:
10 engine: amqp
11 host: ${_param:heka_router_input_host}
12 user: ${_param:heka_router_input_user}
13 password: ${_param:heka_router_input_password}
14 vhost: ${_param:heka_router_input_vhost}
jan kaufman4c81d9c2015-09-18 23:34:37 +020015 port: 5672
jan kaufman079a1802015-09-16 16:29:29 +020016 exchange: ${_param:heka_router_input_exchange}
jan kaufman14845bc2015-11-04 16:23:00 +010017 prefetch_count: ${_param:heka_router_input_prefetch_count}
jan kaufman079a1802015-09-16 16:29:29 +020018 exchange_type: fanout
19 decoder: ProtoBufDecoder
20 splitter: HekaFramingSplitter
jan kaufman400e7932015-09-18 23:31:55 +020021 rsyslog_syslog:
jan kaufman079a1802015-09-16 16:29:29 +020022 engine: logstreamer
23 log_directory: /var/log
24 file_match: syslog\.?(?P<Index>\d+)?(.gz)?
25 decoder: RsyslogDecoder
26 priority: ["^Index"]
jan kaufman400e7932015-09-18 23:31:55 +020027 rsyslog_auth:
jan kaufman079a1802015-09-16 16:29:29 +020028 engine: logstreamer
29 log_directory: /var/log
30 file_match: auth\.log\.?(?P<Index>\d+)?(.gz)?
31 decoder: RsyslogDecoder
32 priority: ["^Index"]
33 decoder:
34 rsyslog:
35 engine: rsyslog
jan kaufman5149ad42015-09-16 17:30:08 +020036 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
jan kaufman079a1802015-09-16 16:29:29 +020037 hostname_keep: TRUE
jan kaufman5149ad42015-09-16 17:30:08 +020038 tz: Europe/Prague
jan kaufman5db9b7d2015-09-26 21:18:40 +020039 ProtoBufDecoder:
jan kaufmanff314282015-09-26 21:25:04 +020040 engine: protobuf
jan kaufman079a1802015-09-16 16:29:29 +020041 output:
42 elasticsearch01:
43 engine: elasticsearch
44 host: ${_param:heka_router_output_host}
45 port: 9200
46 encoder: es_json
jan kaufmane8659b22015-09-26 23:10:05 +020047 message_matcher: "Logger != 'hekad'"
jan kaufman079a1802015-09-16 16:29:29 +020048 dashboard01:
49 engine: dashboard
50 ticker_interval: 30
51 encoder:
jan kaufmanc850a2b2015-09-19 00:01:10 +020052 es_json:
jan kaufman079a1802015-09-16 16:29:29 +020053 engine: es-json
jan kaufman079a1802015-09-16 16:29:29 +020054 index: logfile-%{%Y.%m.%d}
jan kaufmande294cf2015-09-19 19:07:54 +020055 es_index_from_timestamp: true
jan kaufman079a1802015-09-16 16:29:29 +020056