jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 1 | applications: |
| 2 | - heka |
| 3 | _param: |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 4 | parameters: |
| 5 | heka: |
| 6 | server: |
| 7 | enabled: true |
| 8 | input: |
| 9 | rabbitmq: |
| 10 | engine: amqp |
| 11 | host: ${_param:heka_router_input_host} |
| 12 | user: ${_param:heka_router_input_user} |
| 13 | password: ${_param:heka_router_input_password} |
| 14 | vhost: ${_param:heka_router_input_vhost} |
jan kaufman | 4c81d9c | 2015-09-18 23:34:37 +0200 | [diff] [blame] | 15 | port: 5672 |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 16 | exchange: ${_param:heka_router_input_exchange} |
| 17 | exchange_type: fanout |
| 18 | decoder: ProtoBufDecoder |
| 19 | splitter: HekaFramingSplitter |
jan kaufman | 5bb219e | 2015-11-22 22:21:00 +0100 | [diff] [blame] | 20 | prefetch_count: 20 |
jan kaufman | 400e793 | 2015-09-18 23:31:55 +0200 | [diff] [blame] | 21 | rsyslog_syslog: |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 22 | engine: logstreamer |
| 23 | log_directory: /var/log |
jan kaufman | 4d789b7 | 2015-11-23 17:32:53 +0100 | [diff] [blame] | 24 | file_match: '(?P<Service>daemon\.log|cron\.log|mail\.log|kern\.log|auth\.log|syslog|messages|debug)\.?(?P<Index>\d+)?(.gz)?' |
jan kaufman | 4b7b0b0 | 2015-11-23 21:38:12 +0100 | [diff] [blame^] | 25 | priority: '["^Index"]' |
| 26 | differentiator: '[ "rsyslog-", "Service" ]' |
jan kaufman | f1af4f3 | 2015-11-19 19:10:14 +0100 | [diff] [blame] | 27 | decoder: RsyslogDecoder |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 28 | decoder: |
| 29 | rsyslog: |
| 30 | engine: rsyslog |
jan kaufman | 5149ad4 | 2015-09-16 17:30:08 +0200 | [diff] [blame] | 31 | template: \%TIMESTAMP\% \%HOSTNAME\% \%syslogtag\%\%msg:::sp-if-no-1st-sp\%\%msg:::drop-last-lf\%\n |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 32 | hostname_keep: TRUE |
jan kaufman | 5149ad4 | 2015-09-16 17:30:08 +0200 | [diff] [blame] | 33 | tz: Europe/Prague |
jan kaufman | 5db9b7d | 2015-09-26 21:18:40 +0200 | [diff] [blame] | 34 | ProtoBufDecoder: |
jan kaufman | ff31428 | 2015-09-26 21:25:04 +0200 | [diff] [blame] | 35 | engine: protobuf |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 36 | output: |
| 37 | elasticsearch01: |
| 38 | engine: elasticsearch |
| 39 | host: ${_param:heka_router_output_host} |
| 40 | port: 9200 |
jan kaufman | faa5a7d | 2015-11-23 19:14:26 +0100 | [diff] [blame] | 41 | encoder: es_json |
jan kaufman | e8659b2 | 2015-09-26 23:10:05 +0200 | [diff] [blame] | 42 | message_matcher: "Logger != 'hekad'" |
jan kaufman | 502b7ec | 2015-11-23 18:08:46 +0100 | [diff] [blame] | 43 | flush_count: 10 |
| 44 | flush_interval: 1000 |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 45 | dashboard01: |
| 46 | engine: dashboard |
| 47 | ticker_interval: 30 |
| 48 | encoder: |
jan kaufman | c850a2b | 2015-09-19 00:01:10 +0200 | [diff] [blame] | 49 | es_json: |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 50 | engine: es-json |
jan kaufman | 300c4c8 | 2015-11-23 18:48:37 +0100 | [diff] [blame] | 51 | es_payload: |
| 52 | engine: es-payload |