How to set-up Hot, Warm and cold for single node Elasticsearch?

How to set up Hot, Warm and cold for single node Elasticsearch?

What are you looking to achieve? Although you can alter index settings at different lifecycle stages the main benefit of using hot-warm-cold architecture is that different stages can be hosted on different hardware profiles. This is naturally not possible unless you have multiple nodes in the cluster.

1 Like

So, It's not possible to for a single index. (Single hardware)

No, it assumes time based indices that move through the phases. What is the problem you are trying to solve?

I have single node Elasticsearch. I am planning to keep last 5-day indices is hot, remaining indices need to move to warm.

Why do you think you need to do this? What do you want to change for indices in the warm phase?

Because I have more than 500 indices and 829.94M docs. I am facing slow response while querying in Elasticsearch. So, I am planning to keep last 3 days indices in hot remaining I will keep as warm.

It sounds like you may hsve a lot of small indices and that you might be better off consolidating these onto fewer larger indices, which can help query performance. A hot-warm-cold architecture does nothing magic and will most likely not solve your problems unless you add nodes.

1 Like

Thank you so much for your quick response.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.