How to set indices.lifecycle.poll_interval?
Read that it a cluster level setting.
Thanks and regards
shini
How to set indices.lifecycle.poll_interval?
Read that it a cluster level setting.
Thanks and regards
shini
You can change the ILM poll interval if needed:
PUT _cluster/settings
{
"transient": {
"indices.lifecycle.poll_interval": "5s"
}
}
But I'd not do this in production as the default values seem reasonable to me.
Note that I used transient
here. So it won't survive a cluster restart.
Use persistent
of you want it to be persistent.
Thanks sir,
I was planning to test the ILM policy that I created with indices of small sizes as roll over condition . So this setting may be helpful for that.
Thanks and regards
shini
Hi @shi
Let me save you a little trouble ... testing lifecycle with small indices and small times, and small sizes will will not perform "Exactly" as you expect there have been a number of threads on this...
Not to say you can not test... but if you expect indices to rollover at exactly 50MB they will not... Rollover is a background task... ILM is geared to work on indices that of sizes of GBs, hours, days etc... not MB and Minutes.
Thanks sir for this additional information , I will proceed accordingly.
Thanks and regards
shini
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.