# Advanced Watch: how to debug

**URL:** <https://discuss.elastic.co/t/advanced-watch-how-to-debug/242893>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [July 28, 2020, 11:17am UTC](https://discuss.elastic.co/t/advanced-watch-how-to-debug/242893 "2020-07-28T11:17:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RajeshKumar](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@RajeshKumar](https://discuss.elastic.co/u/RajeshKumar)\
**Post date:** [July 28, 2020, 11:17am UTC](https://discuss.elastic.co/t/advanced-watch-how-to-debug/242893/1 "2020-07-28T11:17:45Z")

</div>

Hi,

I have created an Advanced Watch which I was able to simulate and it went to Firing mode. I could see the following after simulated:

{

"watch\_id": "_inlined_",

"node": "p1qF\_EFFTrmz-3EoKpQgDQ",

"state": "executed",

"status": {

"state": {

"active": true,

"timestamp": "2020-07-27T17:13:38.725Z"

},

"last\_checked": "2020-07-27T17:13:38.729Z",

"last\_met\_condition": "2020-07-27T17:13:38.729Z",

"actions": {

"createSNOWINC": {

```
"ack": {

 "timestamp": "2020-07-27T17:13:38.729Z",

 "state": "ackable"

},

"last_execution": {

 "timestamp": "2020-07-27T17:13:38.729Z",

 "successful": true

},

"last_successful_execution": {

 "timestamp": "2020-07-27T17:13:38.729Z",

 "successful": true

}

```

}

},

"execution\_state": "executed",

"version": -1

},

"trigger\_event": {

"type": "manual",

"triggered\_time": "2020-07-27T17:13:38.728Z",

"manual": {

"schedule": {

```
"scheduled_time": "2020-07-27T17:13:38.728Z"

```

}

}

},

But, my webhook action did not complete. How to debug this one?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [July 29, 2020, 2:10pm UTC](https://discuss.elastic.co/t/advanced-watch-how-to-debug/242893/2 "2020-07-29T14:10:21Z")

</div>

You may want to read [Watching the watches](https://www.elastic.co/blog/watching-the-watches-writing-debugging-and-testing-watches) - a slightly longer blog post, introducing you into debugging watches.

---

<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:** [August 26, 2020, 2:10pm UTC](https://discuss.elastic.co/t/advanced-watch-how-to-debug/242893/3 "2020-08-26T14:10:23Z")

</div>

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