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