Hi ES Team,
I had a problem with lot of my Shards being Unassigned and the health is always showing around 60-70% and in RED state.
I plan to copy/restore data from backup, and it will restore the data but will it fix the shard issue, or will the master reallocate fresh within the cluster? If i copy it, will it copy the shards as well?
Please clarify?
Do you have an overallocation of shards? what is your total shard count to index and cluster size?
If your shards are failing whilst they are being snapshot this will not aid in restoration.
Hi Jymit,
Thanks for the quick response. Pls find the details below:
Actually i am getting lot of unassigned shards and want to delete them.
Is it possible to delete the unassigned shards without any issue like loosing data and attain 100%?
If yes can you pls let me know the query to run?
Thanks Mark for the suggestion. Can you send me the command to run for reducing the count if it is handy?
Secondly i used to have extra 1 reserved and 3 spot instances in the ELK Cluster before, but still has the same affect without change(health status RED and 60%-70%) so thats the reason i terminated the spot instances and 1 reserved instance and using only 2 reserved instances in the cluster.
Correct me if i am wrong anywhere?
Thanks, Prasad
Mark, Actually I got more than 700 indices, so can i apply the _shrink API for all at the same time?
Secondly, If i go for restoring option from my old snapshots than _shrink process would it be a better option?
Actually i got around 350+ indices?
Please let me know if i can _shrink all indices at the same time with one API query?
Secondly, Can I restore snapshots between dates?If yes please point me to the doc link.
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.