# Logstash 日志管道配置(占位) input { file { path => "/data/apps/logs/app.log" start_position => "beginning" sincedb_path => "/dev/null" codec => json } } filter { date { match => ["timestamp", "ISO8601"] } } output { elasticsearch { hosts => ["elasticsearch:9200"] index => "tornado-elevue-%{+YYYY.MM.dd}" } }