blob: f929c7ad3ba243d382ea7191144f06d469507b52 [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 kaufmanaf487862015-11-19 15:31:20 +010020 rsyslog_kern:
21 engine: logstreamer
22 log_directory: /var/log
23 file_match: kern\.log\.?(?P<Index>\d+)?(.gz)?
jan kaufmanaf487862015-11-19 15:31:20 +010024 priority: ["^Index"]
jan kaufmanf1af4f32015-11-19 19:10:14 +010025 decoder: RsyslogDecoder
jan kaufman400e7932015-09-18 23:31:55 +020026 rsyslog_syslog:
jan kaufman079a1802015-09-16 16:29:29 +020027 engine: logstreamer
28 log_directory: /var/log
29 file_match: syslog\.?(?P<Index>\d+)?(.gz)?
jan kaufman079a1802015-09-16 16:29:29 +020030 priority: ["^Index"]
jan kaufmanf1af4f32015-11-19 19:10:14 +010031 decoder: RsyslogDecoder
jan kaufman400e7932015-09-18 23:31:55 +020032 rsyslog_auth:
jan kaufman079a1802015-09-16 16:29:29 +020033 engine: logstreamer
34 log_directory: /var/log
35 file_match: auth\.log\.?(?P<Index>\d+)?(.gz)?
jan kaufman079a1802015-09-16 16:29:29 +020036 priority: ["^Index"]
jan kaufmanf1af4f32015-11-19 19:10:14 +010037 decoder: RsyslogDecoder
jan kaufman079a1802015-09-16 16:29:29 +020038 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 kaufman5db9b7d2015-09-26 21:18:40 +020044 ProtoBufDecoder:
jan kaufmanff314282015-09-26 21:25:04 +020045 engine: protobuf
jan kaufman079a1802015-09-16 16:29:29 +020046 output:
47 elasticsearch01:
48 engine: elasticsearch
49 host: ${_param:heka_router_output_host}
50 port: 9200
51 encoder: es_json
jan kaufmane8659b22015-09-26 23:10:05 +020052 message_matcher: "Logger != 'hekad'"
jan kaufman079a1802015-09-16 16:29:29 +020053 dashboard01:
54 engine: dashboard
55 ticker_interval: 30
56 encoder:
jan kaufmanc850a2b2015-09-19 00:01:10 +020057 es_json:
jan kaufman079a1802015-09-16 16:29:29 +020058 engine: es-json
jan kaufman079a1802015-09-16 16:29:29 +020059 index: logfile-%{%Y.%m.%d}
jan kaufmande294cf2015-09-19 19:07:54 +020060 es_index_from_timestamp: true