fix for keeping daily index

This commit is contained in:
t3chn0m4g3
2020-06-23 21:40:38 +00:00
parent 39c0abb92e
commit 81c6351cf1
4 changed files with 177 additions and 6 deletions

View File

@ -505,6 +505,8 @@ if "_grokparsefailure" in [tags] { drop {} }
output {
elasticsearch {
hosts => ["elasticsearch:9200"]
# With ILM in place we need to set the daily index manually, if not => FUBAR
index => "logstash-%{+YYYY.MM.dd}"
# document_type => "doc"
}