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