blob: 01feb2295602c457eee7415cb69b20fd0ee3206a [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 kaufmanaf487862015-11-19 15:31:20 +010021 rsyslog_kern:
22 engine: logstreamer
23 log_directory: /var/log
24 file_match: kern\.log\.?(?P<Index>\d+)?(.gz)?
jan kaufmanaf487862015-11-19 15:31:20 +010025 priority: ["^Index"]
jan kaufmanf1af4f32015-11-19 19:10:14 +010026 decoder: RsyslogDecoder
jan kaufman400e7932015-09-18 23:31:55 +020027 rsyslog_syslog:
jan kaufman079a1802015-09-16 16:29:29 +020028 engine: logstreamer
29 log_directory: /var/log
30 file_match: syslog\.?(?P<Index>\d+)?(.gz)?
jan kaufman079a1802015-09-16 16:29:29 +020031 priority: ["^Index"]
jan kaufmanf1af4f32015-11-19 19:10:14 +010032 decoder: RsyslogDecoder
jan kaufman400e7932015-09-18 23:31:55 +020033 rsyslog_auth:
jan kaufman079a1802015-09-16 16:29:29 +020034 engine: logstreamer
35 log_directory: /var/log
36 file_match: auth\.log\.?(?P<Index>\d+)?(.gz)?
jan kaufman079a1802015-09-16 16:29:29 +020037 priority: ["^Index"]
jan kaufmanf1af4f32015-11-19 19:10:14 +010038 decoder: RsyslogDecoder
jan kaufman079a1802015-09-16 16:29:29 +020039 decoder:
40 rsyslog:
41 engine: rsyslog
jan kaufman5149ad42015-09-16 17:30:08 +020042 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
jan kaufman079a1802015-09-16 16:29:29 +020043 hostname_keep: TRUE
jan kaufman5149ad42015-09-16 17:30:08 +020044 tz: Europe/Prague
jan kaufman5db9b7d2015-09-26 21:18:40 +020045 ProtoBufDecoder:
jan kaufmanff314282015-09-26 21:25:04 +020046 engine: protobuf
jan kaufman079a1802015-09-16 16:29:29 +020047 output:
48 elasticsearch01:
49 engine: elasticsearch
50 host: ${_param:heka_router_output_host}
51 port: 9200
52 encoder: es_json
jan kaufmane8659b22015-09-26 23:10:05 +020053 message_matcher: "Logger != 'hekad'"
jan kaufman079a1802015-09-16 16:29:29 +020054 dashboard01:
55 engine: dashboard
56 ticker_interval: 30
57 encoder:
jan kaufmanc850a2b2015-09-19 00:01:10 +020058 es_json:
jan kaufman079a1802015-09-16 16:29:29 +020059 engine: es-json
jan kaufman079a1802015-09-16 16:29:29 +020060 index: logfile-%{%Y.%m.%d}
jan kaufmande294cf2015-09-19 19:07:54 +020061 es_index_from_timestamp: true