I have this output plugin in Logstash to create elastic search index.
output {
amazon_es {
hosts => ["https://xxxxxxxxxxxxxxxx.es.amazonaws.com/"]
region => "ap-southeast-1"
index => "studentservice-logs-%{+YYYY.MM.dd}"
}
}
I want to update this index later because there will be some new fields added by mutate for some log messages.
How to update the index ?