jan kaufman | 896c345 | 2016-01-26 15:36:55 +0100 | [diff] [blame] | 1 | heka: |
| 2 | server: |
| 3 | enabled: true |
| 4 | input: |
| 5 | rsyslog_syslog: |
| 6 | engine: logstreamer |
| 7 | log_directory: /var/log |
| 8 | file_match: '(?P<Service>daemon\.log|cron\.log|mail\.log|kern\.log|auth\.log|syslog|messages|debug)\.?(?P<Index>\d+)?(.gz)?' |
| 9 | priority: ["^Index"] |
| 10 | differentiator: [ "rsyslog-", "Service" ] |
| 11 | decoder: RsyslogDecoder |
| 12 | oldest_duration: "168h" |
| 13 | decoder: |
| 14 | rsyslog: |
| 15 | engine: rsyslog |
| 16 | template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n |
| 17 | hostname_keep: TRUE |
| 18 | tz: Europe/Prague |
| 19 | type: rsyslog |
jan kaufman | b7afff1 | 2016-03-08 14:46:19 +0100 | [diff] [blame] | 20 | encoder: |
| 21 | protobuf: |
| 22 | engine: protobuf |
jan kaufman | 896c345 | 2016-01-26 15:36:55 +0100 | [diff] [blame] | 23 | output: |
| 24 | rabbitmq: |
| 25 | engine: amqp |
| 26 | host: ${_param:heka_shipper_output_host} |
| 27 | user: ${_param:heka_shipper_output_user} |
| 28 | password: ${_param:heka_shipper_output_password} |
| 29 | vhost: ${_param:heka_shipper_output_vhost} |
| 30 | exchange: ${_param:heka_shipper_output_exchange} |
| 31 | exchange_type: fanout |
| 32 | encoder: ProtobufEncoder |
| 33 | use_framing: true |
| 34 | message_matcher: "TRUE" |
| 35 | enabled: True |
| 36 | filter: {} |
| 37 | splitter: {} |
| 38 | |