input {
beats {
port => 5044
}
}
filebeat.inputs:
- type: log
enabled: true
paths:
- /home/ ... /storage/logs/laravel*.log
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
}
}
Почему Logstash пишет в ES свой лог logstash-plain.log?