# How to search in Kibana only indices in hot and warm phase?

**URL:** <https://discuss.elastic.co/t/how-to-search-in-kibana-only-indices-in-hot-and-warm-phase/359190>\
**Category:** Kibana\
**Created:** [May 9, 2024, 1:29pm UTC](https://discuss.elastic.co/t/how-to-search-in-kibana-only-indices-in-hot-and-warm-phase/359190 "2024-05-09T13:29:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicoletta](https://avatars.discourse-cdn.com/v4/letter/n/e9bcb4/32.png) [@Nicoletta](https://discuss.elastic.co/u/Nicoletta)\
**Post date:** [May 9, 2024, 1:29pm UTC](https://discuss.elastic.co/t/how-to-search-in-kibana-only-indices-in-hot-and-warm-phase/359190/1 "2024-05-09T13:29:18Z")

</div>

Hello,

I would like to limit my search only on indices in hot and warm phase.  
I am aware of this metadata field

> **[\_tier field | Elasticsearch Guide \[8.13\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-tier-field.html)**

but I can't see this field available in my Data View.

Any suggestions?

Thanks,  
Nicoletta

---

<div class="post-metadata">

**Author:** ![jughosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jughosta/32/107160_2.png) [@jughosta](https://discuss.elastic.co/u/jughosta)\
**Post date:** [May 10, 2024, 8:24am UTC](https://discuss.elastic.co/t/how-to-search-in-kibana-only-indices-in-hot-and-warm-phase/359190/2 "2024-05-10T08:24:49Z")

</div>

Hi @Nicoletta,

On Discover page there is an option to create a filter with a custom Query DSL like the following:

```auto
{
  "query": {
    "terms": {
      "_tier": ["data_hot", "data_warm"] 
    }
  }
}

```

Or enter the following query in the search bar (it should be switched to KQL language):

```auto
_tier: (data_hot or data_warm)

```

---

<div class="post-metadata">

**Author:** ![Nicoletta](https://avatars.discourse-cdn.com/v4/letter/n/e9bcb4/32.png) [@Nicoletta](https://discuss.elastic.co/u/Nicoletta)\
**Post date:** [May 10, 2024, 8:38am UTC](https://discuss.elastic.co/t/how-to-search-in-kibana-only-indices-in-hot-and-warm-phase/359190/3 "2024-05-10T08:38:22Z")

</div>

> [@jughosta](#):
>
> `_tier: (data_hot or data_warm)`

Thanks a lot, I didn't see \_tier field in my metadata fields so I thought it was not available.

It works.  
Thanks again

Nicoletta
