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