prep for elk 7.9

This commit is contained in:
t3chn0m4g3
2020-08-24 10:35:46 +00:00
parent c1f7146800
commit 5080151b7c
6 changed files with 26 additions and 178 deletions

View File

@ -534,8 +534,9 @@ 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
# With templates now being legacy and ILM in place we need to set the daily index with its template manually. Otherwise a new index might be created with differents settings configured through Kibana.
index => "logstash-%{+YYYY.MM.dd}"
template => "/etc/logstash/tpot_es_template.json"
# document_type => "doc"
}