i have an ELK(Elasticsearch-Kibana) stack wherein the elasticsearch node
has the default shard value of 5. Logs are pushed to it in logstash format(
logstash-YYYY.MM.DD), which- correct me if i am wrong- are indexed
date-wise.
Since i cannot change the shard count of an existing index without
reindexing, i want to increase the number of shards to 8 when the next
index is created. i figured that the ES-API allows on-the-fly persistent
changes.
if you use logstash, you could change the default index template to use 8
shards. See
--Alex
On Wed, Apr 23, 2014 at 7:34 AM, Abhishek Tiwari erbdex@gmail.com wrote:
i have an ELK(Elasticsearch-Kibana) stack wherein the elasticsearch node
has the default shard value of 5. Logs are pushed to it in logstash format(
logstash-YYYY.MM.DD), which- correct me if i am wrong- are indexed
date-wise.
Since i cannot change the shard count of an existing index without
reindexing, i want to increase the number of shards to 8 when the next
index is created. i figured that the ES-API allows on-the-fly persistent
changes.
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.