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} |
jan kaufman | 14845bc | 2015-11-04 16:23:00 +0100 | [diff] [blame] | 17 | prefetch_count: ${_param:heka_router_input_prefetch_count} |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 18 | exchange_type: fanout |
| 19 | decoder: ProtoBufDecoder |
| 20 | splitter: HekaFramingSplitter |
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 |
| 24 | file_match: syslog\.?(?P<Index>\d+)?(.gz)? |
| 25 | decoder: RsyslogDecoder |
| 26 | priority: ["^Index"] |
jan kaufman | 400e793 | 2015-09-18 23:31:55 +0200 | [diff] [blame] | 27 | rsyslog_auth: |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 28 | engine: logstreamer |
| 29 | log_directory: /var/log |
| 30 | file_match: auth\.log\.?(?P<Index>\d+)?(.gz)? |
| 31 | decoder: RsyslogDecoder |
| 32 | priority: ["^Index"] |
| 33 | decoder: |
| 34 | rsyslog: |
| 35 | engine: rsyslog |
jan kaufman | 5149ad4 | 2015-09-16 17:30:08 +0200 | [diff] [blame] | 36 | 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] | 37 | hostname_keep: TRUE |
jan kaufman | 5149ad4 | 2015-09-16 17:30:08 +0200 | [diff] [blame] | 38 | tz: Europe/Prague |
jan kaufman | 5db9b7d | 2015-09-26 21:18:40 +0200 | [diff] [blame] | 39 | ProtoBufDecoder: |
jan kaufman | ff31428 | 2015-09-26 21:25:04 +0200 | [diff] [blame] | 40 | engine: protobuf |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 41 | output: |
| 42 | elasticsearch01: |
| 43 | engine: elasticsearch |
| 44 | host: ${_param:heka_router_output_host} |
| 45 | port: 9200 |
| 46 | encoder: es_json |
jan kaufman | e8659b2 | 2015-09-26 23:10:05 +0200 | [diff] [blame] | 47 | message_matcher: "Logger != 'hekad'" |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 48 | dashboard01: |
| 49 | engine: dashboard |
| 50 | ticker_interval: 30 |
| 51 | encoder: |
jan kaufman | c850a2b | 2015-09-19 00:01:10 +0200 | [diff] [blame] | 52 | es_json: |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 53 | engine: es-json |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 54 | index: logfile-%{%Y.%m.%d} |
jan kaufman | de294cf | 2015-09-19 19:07:54 +0200 | [diff] [blame] | 55 | es_index_from_timestamp: true |
jan kaufman | 079a180 | 2015-09-16 16:29:29 +0200 | [diff] [blame] | 56 | |