Skip to content

Watcher will report all non-exceptional search execution as "success" in Watcher history.  #84742

Open
@jakelandis

Description

@jakelandis

Problem Description

Watcher will report all non-exceptional search execution as "success" in Watcher history.

Watcher will only report a search input as anything other than success if an exception occurs while executing the search request. For non-exceptional failures, such a permissions issue or missing indices, the result will still be reported as "success". Ideally the actual response code would also be included in the Watcher history output to differentiate between a technical success and functional success. Using a single "success" status can make troubleshooting difficult since it is not intuitive that "success" is only in reference to "not an execution error".

Steps to Reproduce

To reproduce execute a Watch against a non-existent index or with a user without the proper permissions and view the Watcher history. It will have a status of "success" but will be missing the additional information that the search returned zero results due to the missing index or missing privilege.

 "input" : {
      "type" : "search",
      "status" : "success",

Note - while fixing this other inputs / transforms / actions should be explored to see if they are subject to the same non intuitive "success" without a way to differentiate the type of success.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions