jan kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 1 | applications: |
| 2 | - heka |
| 3 | _param: |
| 4 | parameters: |
| 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 |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 29 | log_directory: /var/log/nova |
jan kaufman | 8389c63 | 2015-11-06 14:00:42 +0100 | [diff] [blame] | 30 | file_match: nova-compute\.log\.?(?P<Index>\d+)?(.gz)? |
jan kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 31 | priority: ["^Index"] |
jan kaufman | 4827485 | 2015-11-04 16:00:53 +0100 | [diff] [blame] | 32 | decoder: multidecoder_openstack |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 33 | libvirtd: |
| 34 | engine: logstreamer |
| 35 | log_directory: /var/log/libvirt |
jan kaufman | 8389c63 | 2015-11-06 14:00:42 +0100 | [diff] [blame] | 36 | file_match: libvirtd\.log\.?(?P<Index>\d+)?(.gz)? |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 37 | priority: ['^Index'] |
jan kaufman | 4827485 | 2015-11-04 16:00:53 +0100 | [diff] [blame] | 38 | decoder: multidecoder_libvirtd |
jan kaufman | f0616f4 | 2015-11-06 14:38:31 +0100 | [diff] [blame^] | 39 | 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 kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 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 |
jan kaufman | 0bb9e4f | 2015-11-04 15:28:59 +0100 | [diff] [blame] | 53 | subs: [ 'Payloadregex_OpenStackLog','Payloadregex_OpenStackLogTrace' ] |
jan kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 54 | cascade_strategy: first-wins |
jan kaufman | 156a817 | 2015-11-04 15:33:07 +0100 | [diff] [blame] | 55 | log_sub_errors: "false" |
jan kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 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>.*) |
jan kaufman | b6554cb | 2015-11-03 16:12:20 +0100 | [diff] [blame] | 59 | timestamp_layout: "2015-10-06 11:34:37.243" |
jan kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 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>.*) |
jan kaufman | b6554cb | 2015-11-03 16:12:20 +0100 | [diff] [blame] | 63 | timestamp_layout: "2015-10-06 11:34:37.243" |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 64 | libvirtd: |
| 65 | engine: multidecoder |
jan kaufman | 0bb9e4f | 2015-11-04 15:28:59 +0100 | [diff] [blame] | 66 | subs: [ 'Payloadregex_libvirtcommon', 'Payloadregex_libvirtaudit' ] |
jan kaufman | 24789ac | 2015-11-02 16:23:46 +0100 | [diff] [blame] | 67 | cascade_strategy: first-wins |
jan kaufman | 156a817 | 2015-11-04 15:33:07 +0100 | [diff] [blame] | 68 | log_sub_errors: "false" |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 69 | libvirtcommon: |
| 70 | engine: payloadregex |
| 71 | 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 kaufman | 190368a | 2015-11-03 17:21:00 +0100 | [diff] [blame] | 72 | timestamp_layout: "2015-09-01 15:56:14.675+0000" |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 73 | libvirtaudit: |
| 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<message>.+):\s(?P<payload>.+) |
jan kaufman | 190368a | 2015-11-03 17:21:00 +0100 | [diff] [blame] | 76 | timestamp_layout: "2015-09-01 15:56:14.675+0000" |
| 77 | contrail_vrouter_agent: |
| 78 | engine: payloadregex |
jan kaufman | 7c0e9de | 2015-11-04 15:18:49 +0100 | [diff] [blame] | 79 | 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 kaufman | 8f546fc | 2015-11-04 13:55:43 +0100 | [diff] [blame] | 80 | timestamp_layout: "2015-09-01 15:56:14.675+0000" |
jan kaufman | da6bf55 | 2015-11-03 15:47:10 +0100 | [diff] [blame] | 81 | output: |
jan kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 82 | rabbitmq: |
| 83 | engine: amqp |
| 84 | host: ${_param:heka_shipper_output_host} |
| 85 | user: ${_param:heka_shipper_output_user} |
| 86 | password: ${_param:heka_shipper_output_password} |
| 87 | vhost: ${_param:heka_shipper_output_vhost} |
| 88 | exchange: ${_param:heka_shipper_output_exchange} |
| 89 | exchange_type: fanout |
| 90 | encoder: ProtobufEncoder |
| 91 | use_framing: true |
| 92 | message_matcher: "TRUE" |
| 93 | filter: {} |
| 94 | splitter: {} |