blob: eda64bd6599c69f66bd05569c58a2f3c1e510d70 [file] [log] [blame]
jan kaufmana5401e52015-10-06 15:08:00 +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: syslog\.?(?P<Index>\d+)?(.gz)?
13 decoder: RsyslogDecoder
14 priority: ["^Index"]
15 rsyslog_auth:
16 engine: logstreamer
17 log_directory: /var/log
18 file_match: auth\.log\.?(?P<Index>\d+)?(.gz)?
19 decoder: RsyslogDecoder
20 priority: ["^Index"]
21 rsyslog_kern:
22 engine: logstreamer
23 log_directory: /var/log
24 file_match: kern\.log\.?(?P<Index>\d+)?(.gz)?
25 decoder: RsyslogDecoder
26 priority: ["^Index"]
27 nova_compute:
28 engine: logstreamer
29 log_directory: /var/log
30 file_match: nova-compute\.log\\.?(?P<Index>\\d+)?(.gz)?
31 priority: ["^Index"]
32 decoder: openstack
33 cinder_volume:
34 engine: logstreamer
35 log_directory: /var/log
36 file_match: cinder-volume\.log\\.?(?P<Index>\\d+)?(.gz)?
37 priority: ["^Index"]
38 decoder: openstack
39 ceilometer_agent:
40 engine: logstreamer
41 log_directory: /var/log
42 file_match: ceilometer-agent-compute\.log\\.?(?P<Index>\\d+)?(.gz)?
43 priority: ['^Index']
44 decoder: openstack
45 decoder:
46 rsyslog:
47 engine: rsyslog
48 template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n
49 hostname_keep: TRUE
50 tz: Europe/Prague
51 openstack:
52 engine: multidecoder
53 subs: [ 'OpenStackLog','OpenStackLogTrace' ]
54 cascade_strategy: first-wins
55 log_sub_errors: false
56 OpenStackLog:
57 engine: payloadregex
58 match_regex: ^(?P<timestamp>\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}.\d{3})\s(?P<pid>\d+)\s(?P<severity>\w+)\s(?P<programname>\D+)\s\[(?P<id>.+)\]\s(?P<payload>.*)
59 timestamp_layout: 2015-10-06 11:34:37.243
60 OpenStackLogTrace:
61 engine: payloadregex
62 match_regex: ^(?P<timestamp>\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}.\d{3})\s(?P<pid>\d+)\s(?P<severity>TRACE)\s(?P<programname>.\S+)\s(?P<payload>.*)
63 timestamp_layout: 2015-10-06 11:34:37.243
64 output:
65 rabbitmq:
66 engine: amqp
67 host: ${_param:heka_shipper_output_host}
68 user: ${_param:heka_shipper_output_user}
69 password: ${_param:heka_shipper_output_password}
70 vhost: ${_param:heka_shipper_output_vhost}
71 exchange: ${_param:heka_shipper_output_exchange}
72 exchange_type: fanout
73 encoder: ProtobufEncoder
74 use_framing: true
75 message_matcher: "TRUE"
76 filter: {}
77 splitter: {}
78