Hi,
I am trying to create a common template in ES which can be used for all the logstash indices created.
http://localhost:9200/_template?pretty{
"events-template" : {
"order" : 0,
"template" :
"*", "settings" : {
"index.refresh_interval" : "5s"
},
I see that this change is not getting reflected in the index mappings (
http://localhost:9200/_all/_mapping?pretty )
I have tried restarting the ES service as well but in vain. Could you let me know how to get this done correctly? I am expecting logstash indices in the following formats ( xx-logstash-*, logstash-xx-* ) and would like to use the same mappings for all such index types.
Thank you.