123456789101112131415161718192021222324252627282930313233 |
- input
- {
- beats
- {
- port => 5044
- type => "logs"
- }
- }
- filter
- {
- grok
- {
- match =>
- {
- "message" => "%{COMBINEDAPACHELOG}"
- }
- }
- }
- output
- {
- elasticsearch
- {
- hosts => elk-es:9020
- user => elastic
- password => changeme
- index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
- document_type => "%{[@metadata][type]}"
- }
- stdout
- {
- codec => rubydebug
- }
- }
|