# Advanced watcher to capture JVM thread count from APM Data

**URL:** <https://discuss.elastic.co/t/advanced-watcher-to-capture-jvm-thread-count-from-apm-data/274239>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [May 27, 2021, 4:39pm UTC](https://discuss.elastic.co/t/advanced-watcher-to-capture-jvm-thread-count-from-apm-data/274239 "2021-05-27T16:39:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdamera](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@mdamera](https://discuss.elastic.co/u/mdamera)\
**Post date:** [May 27, 2021, 4:39pm UTC](https://discuss.elastic.co/t/advanced-watcher-to-capture-jvm-thread-count-from-apm-data/274239/1 "2021-05-27T16:39:18Z")

</div>

Team,

I have a need to monitor JVM.THREAD count from APM data and need to create a watcher if it exceeds certain value.

This to be applied to only few set of hosts on Particular Index, Can you suggest or if have any such watcher handy please share.

I am unable to define only look for Particular host.name

---

<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:** [June 24, 2021, 4:39pm UTC](https://discuss.elastic.co/t/advanced-watcher-to-capture-jvm-thread-count-from-apm-data/274239/2 "2021-06-24T16:39:46Z")

</div>

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