blob: 1fb91c3063ff3ef2cda75788ffe4cfb0c2f52fad [file] [log] [blame]
Filip Pytloun41a41d42016-08-31 17:53:56 +02001applications:
2- heka
3_param:
4parameters:
5 heka:
6 server:
7 enabled: true
8 input:
9 rsyslog_syslog:
10 engine: logstreamer
11 log_directory: /var/log
12 file_match: '(?P<Service>daemon\.log|cron\.log|mail\.log|kern\.log|auth\.log|syslog|messages|debug)\.?(?P<Index>\d+)?(.gz)?'
13 priority: ["^Index"]
14 differentiator: [ "rsyslog-", "Service" ]
15 decoder: RsyslogDecoder
16 oldest_duration: "168h"
17 decoder:
18 rsyslog:
19 engine: rsyslog
20 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
21 hostname_keep: TRUE
22 tz: ${linux:system:timezone}
23 type: rsyslog
24 ProtoBufDecoder:
25 engine: protobuf
26 encoder:
27 protobuf:
28 engine: protobuf
29 es_json:
30 engine: es-json
31 es_payload:
32 engine: es-payload
33 output:
34 elasticsearch:
35 engine: elasticsearch
36 host: ${_param:heka_shipper_output_host}
37 port: 9200
38 encoder: es_json
39 message_matcher: "Logger != 'hekad'"
40 flush_count: 50
41 flush_interval: 500
42 enabled: true
43 dashboard01:
44 engine: dashboard
45 ticker_interval: 30
46 enabled: true
47 rabbitmq:
48 enabled: false
49 filter: {}
50 splitter: {}