Hi,
I'm struggleling with ILM.
Using Kibana, I've setup a policy where after a day index should be moved to a warm phase and after 3 days they should be moved to a cold phase.
Unfortunately, even with this policy enable, my index does not move from phase quick enough.
waiting for all shard copies to be active, you can see this message in your second image. google about this msg and you will find a solution. this is related to the replication factor of your index.
set the replication factor of your index to zero and your index will rollover immediately. to do this go to Index management -> select the required index -> select edit settings and change "index.number_of_replicas": "0".
you can also change the replicationfactor of your index by using UPDATE INDEX SETTINGS API.
PUT /my-index-000001/_settings
{
"index" : {
"number_of_replicas" : 0
}
}
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.