# Elk 7.5 How to show all indexes having storage\_term as cold

**URL:** https://discuss.elastic.co/t/elk-7-5-how-to-show-all-indexes-having-storage-term-as-cold/351377
**Category:** Elasticsearch
**Created:** [January 18, 2024, 7:09pm UTC](https://discuss.elastic.co/t/elk-7-5-how-to-show-all-indexes-having-storage-term-as-cold/351377 "2024-01-18T19:09:48Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mpniel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mpniel/32/113170_2.png) [@mpniel](https://discuss.elastic.co/u/mpniel)
#### Post date: [January 18, 2024, 7:09pm UTC](https://discuss.elastic.co/t/elk-7-5-how-to-show-all-indexes-having-storage-term-as-cold/351377/1 "2024-01-18T19:09:48Z")

</div>

How to show all indexes having storage\_term as cold?  
Why are there indexes with this cold parameter?

---

<div class="post-metadata">

### Author: ![mpniel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mpniel/32/113170_2.png) [@mpniel](https://discuss.elastic.co/u/mpniel)
#### Post date: [January 22, 2024, 5:00pm UTC](https://discuss.elastic.co/t/elk-7-5-how-to-show-all-indexes-having-storage-term-as-cold/351377/2 "2024-01-22T17:00:30Z")

</div>

Anybody?

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [January 22, 2024, 5:15pm UTC](https://discuss.elastic.co/t/elk-7-5-how-to-show-all-indexes-having-storage-term-as-cold/351377/3 "2024-01-22T17:15:38Z")

</div>

Hello,

`stora_term` is not a setting from Elastic, it seems to be a custom allocation parameter that you are using.

You may list all nodes attributes with the following requests:

```auto
GET _cat/nodeattrs

```

This will show you what nodes have this attribute, then you can list all shards with:

```auto
GET _cat/shards?v

```

This will list the indices by node, you can then compare the two list to find which indices are on nodes with the attribute `storage_term` as cold, but to really now if the indice has this setting, you need to check each index individually.

---

<div class="post-metadata">

### Author: ![mpniel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mpniel/32/113170_2.png) [@mpniel](https://discuss.elastic.co/u/mpniel)
#### Post date: [January 22, 2024, 7:04pm UTC](https://discuss.elastic.co/t/elk-7-5-how-to-show-all-indexes-having-storage-term-as-cold/351377/4 "2024-01-22T19:04:01Z")

</div>

What I mean is index.routing.allocation.require.storage\_term

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [January 22, 2024, 7:06pm UTC](https://discuss.elastic.co/t/elk-7-5-how-to-show-all-indexes-having-storage-term-as-cold/351377/5 "2024-01-22T19:06:48Z")

</div>

> [@mpniel](#):
>
> What I mean is index.routing.allocation.require.storage\_term

Yeah, `storage_term` is a custom attribute that was configured in your nodes.

You need to check the previous answers to check what nodes have this attribute and then check which indices are in those nodes.

---

<div class="post-metadata">

### Author: ![mpniel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mpniel/32/113170_2.png) [@mpniel](https://discuss.elastic.co/u/mpniel)
#### Post date: [January 25, 2024, 11:16am UTC](https://discuss.elastic.co/t/elk-7-5-how-to-show-all-indexes-having-storage-term-as-cold/351377/6 "2024-01-25T11:16:38Z")

</div>

I removed the cold attribute at the.node.level.  
Will this prevent the creation of indexes in the future with cold?  
How to enforce indexes to be created without cold?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 22, 2024, 11:16am UTC](https://discuss.elastic.co/t/elk-7-5-how-to-show-all-indexes-having-storage-term-as-cold/351377/7 "2024-02-22T11:16:46Z")

</div>

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