blob: 1eb63208fc88f452a957ba0c52d0bd1ea128ad55 [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)?
jan kaufmana5401e52015-10-06 15:08:00 +020013 priority: ["^Index"]
jan kaufmanf1af4f32015-11-19 19:10:14 +010014 decoder: RsyslogDecoder
jan kaufmana5401e52015-10-06 15:08:00 +020015 rsyslog_auth:
16 engine: logstreamer
17 log_directory: /var/log
18 file_match: auth\.log\.?(?P<Index>\d+)?(.gz)?
jan kaufmana5401e52015-10-06 15:08:00 +020019 priority: ["^Index"]
jan kaufmanf1af4f32015-11-19 19:10:14 +010020 decoder: RsyslogDecoder
jan kaufmana5401e52015-10-06 15:08:00 +020021 rsyslog_kern:
22 engine: logstreamer
23 log_directory: /var/log
24 file_match: kern\.log\.?(?P<Index>\d+)?(.gz)?
jan kaufmana5401e52015-10-06 15:08:00 +020025 priority: ["^Index"]
jan kaufmanf1af4f32015-11-19 19:10:14 +010026 decoder: RsyslogDecoder
jan kaufmana5401e52015-10-06 15:08:00 +020027 nova_compute:
28 engine: logstreamer
jan kaufmana869a002015-10-06 16:33:11 +020029 log_directory: /var/log/nova
jan kaufman8389c632015-11-06 14:00:42 +010030 file_match: nova-compute\.log\.?(?P<Index>\d+)?(.gz)?
jan kaufmana5401e52015-10-06 15:08:00 +020031 priority: ["^Index"]
jan kaufman48274852015-11-04 16:00:53 +010032 decoder: multidecoder_openstack
jan kaufmana869a002015-10-06 16:33:11 +020033 libvirtd:
34 engine: logstreamer
35 log_directory: /var/log/libvirt
jan kaufman8389c632015-11-06 14:00:42 +010036 file_match: libvirtd\.log\.?(?P<Index>\d+)?(.gz)?
jan kaufmana869a002015-10-06 16:33:11 +020037 priority: ['^Index']
jan kaufman48274852015-11-04 16:00:53 +010038 decoder: multidecoder_libvirtd
jan kaufmanf0616f42015-11-06 14:38:31 +010039 contrail_vrouter_agent:
40 engine: logstreamer
41 log_directory: /var/log/contrail
42 file_match: contrail-vrouter-agent\.log\.?(?P<Index>\d+)?(.gz)?
43 priority: ['^Index']
44 decoder: contrail_vrouter_agent
jan kaufmana5401e52015-10-06 15:08:00 +020045 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
jan kaufman0bb9e4f2015-11-04 15:28:59 +010053 subs: [ 'Payloadregex_OpenStackLog','Payloadregex_OpenStackLogTrace' ]
jan kaufmana5401e52015-10-06 15:08:00 +020054 cascade_strategy: first-wins
jan kaufman156a8172015-11-04 15:33:07 +010055 log_sub_errors: "false"
jan kaufmana5401e52015-10-06 15:08:00 +020056 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>.*)
jan kaufmanb6554cb2015-11-03 16:12:20 +010059 timestamp_layout: "2015-10-06 11:34:37.243"
jan kaufmana5401e52015-10-06 15:08:00 +020060 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>.*)
jan kaufmanb6554cb2015-11-03 16:12:20 +010063 timestamp_layout: "2015-10-06 11:34:37.243"
jan kaufmanf1af4f32015-11-19 19:10:14 +010064 openstacksandbox:
65 engine: sandbox
66 file_name: "/etc/heka/plugins.d/decoders/openstack.lua"
67 module_directory: "/etc/heka/plugins.d/common;/usr/share/heka/lua_modules"
jan kaufmana869a002015-10-06 16:33:11 +020068 libvirtd:
69 engine: multidecoder
jan kaufman0bb9e4f2015-11-04 15:28:59 +010070 subs: [ 'Payloadregex_libvirtcommon', 'Payloadregex_libvirtaudit' ]
jan kaufman24789ac2015-11-02 16:23:46 +010071 cascade_strategy: first-wins
jan kaufman156a8172015-11-04 15:33:07 +010072 log_sub_errors: "false"
jan kaufmana869a002015-10-06 16:33:11 +020073 libvirtcommon:
74 engine: payloadregex
75 match_regex: ^(?P<timestamp>\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}.\d{3}\+\d{4}):\s+(?P<pid>\d+):\s+(?P<severity>\w+)\s+:\s+(?P<qemutrace>\w+:\d+)\s+:\s+(?P<payload>.*)
jan kaufman190368a2015-11-03 17:21:00 +010076 timestamp_layout: "2015-09-01 15:56:14.675+0000"
jan kaufmana869a002015-10-06 16:33:11 +020077 libvirtaudit:
78 engine: payloadregex
79 match_regex: ^(?P<timestamp>\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}.\d{3}\+\d{4}):\s+(?P<pid>\d+):\s+(?P<severity>\w+)\s+:\s+(?P<message>.+):\s(?P<payload>.+)
jan kaufman190368a2015-11-03 17:21:00 +010080 timestamp_layout: "2015-09-01 15:56:14.675+0000"
81 contrail_vrouter_agent:
82 engine: payloadregex
jan kaufman7c0e9de2015-11-04 15:18:49 +010083 match_regex: (?P<timestamp>\d{4}-\d{1,2}-\d{1,2}\s\w+\s\d{2}:\d{2}:\d{2}:\d{3}.\d{3})\s\w+\s.+\s\[Thread (\d+), Pid (?P<pid>\d+)]:\s(?P<message>.+)
jan kaufman8f546fc2015-11-04 13:55:43 +010084 timestamp_layout: "2015-09-01 15:56:14.675+0000"
jan kaufmanda6bf552015-11-03 15:47:10 +010085 output:
jan kaufmana5401e52015-10-06 15:08:00 +020086 rabbitmq:
87 engine: amqp
88 host: ${_param:heka_shipper_output_host}
89 user: ${_param:heka_shipper_output_user}
90 password: ${_param:heka_shipper_output_password}
91 vhost: ${_param:heka_shipper_output_vhost}
92 exchange: ${_param:heka_shipper_output_exchange}
93 exchange_type: fanout
94 encoder: ProtobufEncoder
95 use_framing: true
96 message_matcher: "TRUE"
97 filter: {}
98 splitter: {}