blob: 98ff3baa72c2276e8caa5b5e0fc8d03e01298127 [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}
17 exchange_type: fanout
18 decoder: ProtoBufDecoder
19 splitter: HekaFramingSplitter
jan kaufman400e7932015-09-18 23:31:55 +020020 rsyslog_syslog:
jan kaufman079a1802015-09-16 16:29:29 +020021 engine: logstreamer
22 log_directory: /var/log
23 file_match: syslog\.?(?P<Index>\d+)?(.gz)?
24 decoder: RsyslogDecoder
25 priority: ["^Index"]
jan kaufman400e7932015-09-18 23:31:55 +020026 rsyslog_auth:
jan kaufman079a1802015-09-16 16:29:29 +020027 engine: logstreamer
28 log_directory: /var/log
29 file_match: auth\.log\.?(?P<Index>\d+)?(.gz)?
30 decoder: RsyslogDecoder
31 priority: ["^Index"]
32 decoder:
33 rsyslog:
34 engine: rsyslog
jan kaufman5149ad42015-09-16 17:30:08 +020035 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
jan kaufman079a1802015-09-16 16:29:29 +020036 hostname_keep: TRUE
jan kaufman5149ad42015-09-16 17:30:08 +020037 tz: Europe/Prague
jan kaufman079a1802015-09-16 16:29:29 +020038 output:
39 elasticsearch01:
40 engine: elasticsearch
41 host: ${_param:heka_router_output_host}
42 port: 9200
43 encoder: es_json
44 message_matcher: TRUE
45 dashboard01:
46 engine: dashboard
47 ticker_interval: 30
48 encoder:
jan kaufmanc850a2b2015-09-19 00:01:10 +020049 es_json:
jan kaufman079a1802015-09-16 16:29:29 +020050 engine: es-json
51 message_matcher: TRUE
52 index: logfile-%{%Y.%m.%d}
jan kaufmande294cf2015-09-19 19:07:54 +020053 es_index_from_timestamp: true
jan kaufman079a1802015-09-16 16:29:29 +020054