# \[watcher\] how to list out all indices in email action in kibana?

**URL:** <https://discuss.elastic.co/t/watcher-how-to-list-out-all-indices-in-email-action-in-kibana/252431>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [October 17, 2020, 8:19pm UTC](https://discuss.elastic.co/t/watcher-how-to-list-out-all-indices-in-email-action-in-kibana/252431 "2020-10-17T20:19:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smit108](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@Smit108](https://discuss.elastic.co/u/Smit108)\
**Post date:** [October 17, 2020, 8:19pm UTC](https://discuss.elastic.co/t/watcher-how-to-list-out-all-indices-in-email-action-in-kibana/252431/1 "2020-10-17T20:19:32Z")

</div>

how to list out all indices health , status index name etc in email action ?

` "path" : "/_cat/indices"`

i'm following below Ref.  
Ref: [https://www.elastic.co/guide/en/elasticsearch/reference/current/watch-cluster-status.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/watch-cluster-status.html)

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 19, 2020, 11:13am UTC](https://discuss.elastic.co/t/watcher-how-to-list-out-all-indices-in-email-action-in-kibana/252431/2 "2020-10-19T11:13:58Z")

</div>

Can you share more than a single line, if you are talking about a watch that you are trying to write? If you are using the cat API, it also supports a JSON format, which would allow you to read it easily in your payload.

If that is not what you are after, please provide more context!

Thx!

--Alex

---

<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:** [November 16, 2020, 11:14am UTC](https://discuss.elastic.co/t/watcher-how-to-list-out-all-indices-in-email-action-in-kibana/252431/3 "2020-11-16T11:14:01Z")

</div>

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