Hi Everyone,
I am processing logs via logstash and this creates new dynamic indexes based on a pattern. How can i reduce the default number of shards from 5 to 3.
--
Niraj
Hi Everyone,
I am processing logs via logstash and this creates new dynamic indexes based on a pattern. How can i reduce the default number of shards from 5 to 3.
--
Niraj
You can use Index Templates for this.
You define a template that is set to matche your dynamic index pattern, and sets number_of_shards
to 3
Thanks @TimV It worked.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.