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 | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 30 | file_match: nova-compute\.log\\.?(?P<Index>\\d+)?(.gz)? |
| 31 | priority: ["^Index"] |
| 32 | decoder: openstack |
| 33 | cinder_volume: |
| 34 | engine: logstreamer |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 35 | log_directory: /var/log/cinder |
jan kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 36 | file_match: cinder-volume\.log\\.?(?P<Index>\\d+)?(.gz)? |
| 37 | priority: ["^Index"] |
| 38 | decoder: openstack |
| 39 | ceilometer_agent: |
| 40 | engine: logstreamer |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 41 | log_directory: /var/log/ceilometer |
jan kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 42 | file_match: ceilometer-agent-compute\.log\\.?(?P<Index>\\d+)?(.gz)? |
| 43 | priority: ['^Index'] |
| 44 | decoder: openstack |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 45 | libvirtd: |
| 46 | engine: logstreamer |
| 47 | log_directory: /var/log/libvirt |
| 48 | file_match: libvirtd\.log\\.?(?P<Index>\\d+)?(.gz)? |
| 49 | priority: ['^Index'] |
| 50 | decoder: libvirtd |
jan kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 51 | decoder: |
| 52 | rsyslog: |
| 53 | engine: rsyslog |
| 54 | template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n |
| 55 | hostname_keep: TRUE |
| 56 | tz: Europe/Prague |
| 57 | openstack: |
| 58 | engine: multidecoder |
| 59 | subs: [ 'OpenStackLog','OpenStackLogTrace' ] |
| 60 | cascade_strategy: first-wins |
| 61 | log_sub_errors: false |
| 62 | OpenStackLog: |
| 63 | engine: payloadregex |
| 64 | 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>.*) |
| 65 | timestamp_layout: 2015-10-06 11:34:37.243 |
| 66 | OpenStackLogTrace: |
| 67 | engine: payloadregex |
| 68 | 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>.*) |
| 69 | timestamp_layout: 2015-10-06 11:34:37.243 |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 70 | libvirtd: |
| 71 | engine: multidecoder |
| 72 | subs: [ 'libvirtcommon', 'libvirtaudit' ] |
jan kaufman | 24789ac | 2015-11-02 16:23:46 +0100 | [diff] [blame] | 73 | cascade_strategy: first-wins |
jan kaufman | a869a00 | 2015-10-06 16:33:11 +0200 | [diff] [blame] | 74 | log_sub_errors: false |
| 75 | libvirtcommon: |
| 76 | engine: payloadregex |
| 77 | 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>.*) |
| 78 | timestamp_layout: 2015-09-01 15:56:14.675+0000 |
| 79 | libvirtaudit: |
| 80 | engine: payloadregex |
| 81 | 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>.+) |
| 82 | timestamp_layout: 2015-09-01 15:56:14.675+0000 |
jan kaufman | da6bf55 | 2015-11-03 15:47:10 +0100 | [diff] [blame^] | 83 | output: |
jan kaufman | a5401e5 | 2015-10-06 15:08:00 +0200 | [diff] [blame] | 84 | rabbitmq: |
| 85 | engine: amqp |
| 86 | host: ${_param:heka_shipper_output_host} |
| 87 | user: ${_param:heka_shipper_output_user} |
| 88 | password: ${_param:heka_shipper_output_password} |
| 89 | vhost: ${_param:heka_shipper_output_vhost} |
| 90 | exchange: ${_param:heka_shipper_output_exchange} |
| 91 | exchange_type: fanout |
| 92 | encoder: ProtobufEncoder |
| 93 | use_framing: true |
| 94 | message_matcher: "TRUE" |
| 95 | filter: {} |
| 96 | splitter: {} |
| 97 | |