# Watcher: can it watch Output of Discover Query?

**URL:** <https://discuss.elastic.co/t/watcher-can-it-watch-output-of-discover-query/170373>\
**Category:** Kibana\
**Created:** [February 28, 2019, 3:25pm UTC](https://discuss.elastic.co/t/watcher-can-it-watch-output-of-discover-query/170373 "2019-02-28T15:25:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mariner191](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@Mariner191](https://discuss.elastic.co/u/Mariner191)\
**Post date:** [February 28, 2019, 3:25pm UTC](https://discuss.elastic.co/t/watcher-can-it-watch-output-of-discover-query/170373/1 "2019-02-28T15:25:06Z")

</div>

Can a Watch only "input" from an Index, or can it also "input" from output of a Discover Query?

Thank you!

 ![Elastic_Forum_Image5_Watcher_Input_DiscoverQuery](https://us1.discourse-cdn.com/elastic/original/3X/0/9/093110f507f842a999072b66a6804e61b392fd99.jpeg)

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [February 28, 2019, 10:39pm UTC](https://discuss.elastic.co/t/watcher-can-it-watch-output-of-discover-query/170373/2 "2019-02-28T22:39:27Z")

</div>

You can create an Advanced Watch and change the Watch JSON to include the Elasticsearch query like in [this example](https://github.com/elastic/examples/blob/master/Alerting/Sample%20Watches/twitter_trends/watch.json#L17-L36).

You can find the Elasticsearch query sent by the Discover page in Kibana by clicking on the ["Inspect"](https://www.elastic.co/guide/en/kibana/6.6/vis-inspector.html) button then opening the "Request" tab.

---

<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:** [March 28, 2019, 10:48pm UTC](https://discuss.elastic.co/t/watcher-can-it-watch-output-of-discover-query/170373/3 "2019-03-28T22:48:47Z")

</div>

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