Any ideas?
Does the document (time series data) affect the ILM policy? Because the timestamp of the documents are older than 30 days, but the index has been created a few hours ago.
How do you ensure that your index gets allocated on a hot node? The common approach there would be a setting in the underlying index template ("routing.allocation.include.temp": "hot" where temp is something you pick and need to set on the node as well with node.attr.temp=hot).
And I don't see any include or exclude rules for the shard allocation in the cold phase.
PS: We will formalize the tiers in the future a bit more — right now this is held together by some configs you set.
This is part of the node configuration. So I only need to adapt the template. Are the include and exclude rules for the cold phase mandatory? How do they look like? Do I even have to use the hot entry in the ILM or would only the cold phase be sufficient?
I think you'll need to try it out (with a min_age of 1h or so). I'd expect this to work though I would still go for hot instead to make the index read-only and do a force-merge (those aren't available in cold from the top of my head).
Warm and cold are just naming conventions, but we don't have any explicit steps built-in that would force one on SSDs or the other on spinning disks.
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.