# Which index holds the fleet Healthy/Unhealthy status?

**URL:** <https://discuss.elastic.co/t/which-index-holds-the-fleet-healthy-unhealthy-status/341810>\
**Category:** Elasticsearch\
**Created:** [August 28, 2023, 1:46pm UTC](https://discuss.elastic.co/t/which-index-holds-the-fleet-healthy-unhealthy-status/341810 "2023-08-28T13:46:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [August 28, 2023, 1:46pm UTC](https://discuss.elastic.co/t/which-index-holds-the-fleet-healthy-unhealthy-status/341810/1 "2023-08-28T13:46:02Z")

</div>

Hi Guys,

I need to fetch the data from elasticsearch indices using \_search API and need to know which indices hold the data for fleet and agent status?

And how do I run the query using curl to get the Host name and IP address of that agent?

TIA  
Blason R

---

<div class="post-metadata">

**Author:** ![chouben](https://avatars.discourse-cdn.com/v4/letter/c/e495f1/32.png) [@chouben](https://discuss.elastic.co/u/chouben)\
**Post date:** [August 28, 2023, 3:02pm UTC](https://discuss.elastic.co/t/which-index-holds-the-fleet-healthy-unhealthy-status/341810/2 "2023-08-28T15:02:35Z")

</div>

Hi

Fleet agents have dashboards. You could check the visualisation on which indices they are built.

Based on some of the data, you could probably find out things too by querying your elasticsearch on the logs-\* (Kibana) data view to get a more specific index.

Good luck!  
Christof

PS: Some time ago I looked into the general health status of my stack, but it seems that value is always calculated on the fly. So not sure if your health statusses are stored..

> [@Alerting on watermark threshold - Available API or field inside elasticsearch?](https://discuss.elastic.co/t/alerting-on-watermark-threshold-available-api-or-field-inside-elasticsearch/339451):
>
> Hi I'm looking into a way on how to achieve monitoring of the watermark thresholds. We would like to add alerting once the first threshold passes. I do not want to use fixed sizes inside the alerts, but would like to use the check mechanism inside elastic which indicates the watermark state. If we reconfigure the watermark thresholds, alerts get broken. Our set up contains an elasticsearch & grafana for alerting. Grafana simply queries indices for alerting. If the watermark threshold is pass…

---

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [September 2, 2023, 9:19am UTC](https://discuss.elastic.co/t/which-index-holds-the-fleet-healthy-unhealthy-status/341810/3 "2023-09-02T09:19:26Z")

</div>

I guess the .fleet-agents-\* has all the data - If I am not wrong?

---

<div class="post-metadata">

**Author:** ![chouben](https://avatars.discourse-cdn.com/v4/letter/c/e495f1/32.png) [@chouben](https://discuss.elastic.co/u/chouben)\
**Post date:** [September 4, 2023, 11:32am UTC](https://discuss.elastic.co/t/which-index-holds-the-fleet-healthy-unhealthy-status/341810/4 "2023-09-04T11:32:41Z")

</div>

What did your investiation tell you? 🙂

---

<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:** [October 2, 2023, 11:33am UTC](https://discuss.elastic.co/t/which-index-holds-the-fleet-healthy-unhealthy-status/341810/5 "2023-10-02T11:33:10Z")

</div>

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