Hi Alex, this is a payload from .watcher-history with the field status.actions.my_webhook.last_execution.successful
that if false
to trigger an action. Unfortunately currently this field is not indexed. We tried the fields rediscovery and although brought it up from ~130 to 170 fields the one I am interested has not appeared there yet. I have been thinking to create Explicit Mapping but I am still newbie to this and currently researching this option.
{
"watch_id": "errors_capabilities_HRAAAA",
"node": "AAAAvQsmSSuieKzuOlBBBB",
"state": "execution_not_needed",
"status": {
"state": {
"active": true,
"timestamp": "2018-06-19T10:59:15.845Z"
},
"last_checked": "2018-06-22T09:44:42.139Z",
"last_met_condition": "2018-06-19T11:01:16.589Z",
"actions": {
"my_webhook": {
"ack": {
"timestamp": "2018-06-19T10:59:15.845Z",
"state": "awaits_successful_execution"
},
"last_execution": {
"timestamp": "2018-06-19T11:01:16.589Z",
"successful": false,
"reason": ""
}
},
"notify-slack": {
"ack": {
"timestamp": "2018-06-19T11:02:18.143Z",
"state": "awaits_successful_execution"
},
"last_execution": {
"timestamp": "2018-06-19T11:01:16.589Z",
"successful": true
},
"last_successful_execution": {
"timestamp": "2018-06-19T11:01:16.589Z",
"successful": true
}
}
},
"execution_state": "execution_not_needed",
"version": -1
}