How can I assign number of Replica shards at the time of Dynamic Index creation?


(rajesh) #1

Hi All,

I am trying to index logs using logstash to a dynamic index with the format "index=>sample-%{YYYY.MM}". How can I assign number of Replica shards at the time of Dynamic Index creation?


(Christian Dahlqvist) #2

You can set it through an index template.


(rajesh) #3

Hi Christian,

Thanks for the quick reply..

So, I think I will have to add number_of_replicas field to the settings block. And I don't understand what mappings, properties and created at block do? Can you please explain it?


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.