output {
elasticsearch {
hosts => ["127.0.0.1:9200"]
index => "log-xxxx-%{+YYYY.MM.dd}"
}
}
注意index里面不能存在大写字符
又被坑了.
output {
elasticsearch {
hosts => ["127.0.0.1:9200"]
index => "log-xxxx-%{+YYYY.MM.dd}"
}
}
注意index里面不能存在大写字符
又被坑了.
转载于:https://my.oschina.net/u/1538135/blog/680577