# ElasticSearch Watcher http request input is not getting any response

**URL:** https://discuss.elastic.co/t/elasticsearch-watcher-http-request-input-is-not-getting-any-response/357489
**Category:** Elasticsearch
**Created:** [April 16, 2024, 8:52am UTC](https://discuss.elastic.co/t/elasticsearch-watcher-http-request-input-is-not-getting-any-response/357489 "2024-04-16T08:52:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![JasonREC](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@JasonREC](https://discuss.elastic.co/u/JasonREC)
#### Post date: [April 16, 2024, 8:52am UTC](https://discuss.elastic.co/t/elasticsearch-watcher-http-request-input-is-not-getting-any-response/357489/1 "2024-04-16T08:52:39Z")

</div>

Hi,

I am trying to use elastic watcher to fetch data from my api which hosted in the aws lambda with api gateway setup.

Below is my input query but it just returned something which says "Validation Failed: 1: a watch execution request must either have a watch id or an inline watch source, but both are missing;"

 ![elastic_watcher](https://us1.discourse-cdn.com/elastic/original/3X/7/9/7925bbe2eb368c6345ed01e3ff192b9a6d21903e.png)

I am not sure why, when I use index search instead of http search, it works well

---

<div class="post-metadata">

### Author: ![GinkoLucas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ginkolucas/32/107055_2.png) [@GinkoLucas](https://discuss.elastic.co/u/GinkoLucas)
#### Post date: [April 16, 2024, 9:17am UTC](https://discuss.elastic.co/t/elasticsearch-watcher-http-request-input-is-not-getting-any-response/357489/2 "2024-04-16T09:17:17Z")

</div>

Hello, your request is wrong. You can't run a watcher without giving it a name.

It would be simpler to use the Kibana interface dedicated to watchers : Stack Management \> Watcher.

Then create a Watcher with the option : "Create advanced watch". From there you can test your watcher.

For your watcher, you need all the elements: "trigger", "input", "condition", "action". In your screenshot you just have "trigger" and "input"

There is the documentation : [Watcher | Kibana Guide [8.13] | Elastic](https://www.elastic.co/guide/en/kibana/current/watcher-ui.html#watcher-create-threshold-alert)

---

<div class="post-metadata">

### Author: ![JasonREC](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@JasonREC](https://discuss.elastic.co/u/JasonREC)
#### Post date: [April 16, 2024, 9:39am UTC](https://discuss.elastic.co/t/elasticsearch-watcher-http-request-input-is-not-getting-any-response/357489/3 "2024-04-16T09:39:54Z")

</div>

Hi @GinkoLucas ,

Thanks for saving me!I have spent whole day to find out the reason why it does not working. Thank you so much 😊
