ElasticSearch Watcher http request input is not getting any response

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;"

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

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

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 :blush:

1 Like