Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Watcher] Disabling watcher in elasticsearch.yml doesn't disable watcher in kibana #43023

Open
jgowdyelastic opened this issue Aug 9, 2019 · 2 comments
Labels
Feature:Watcher Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@jgowdyelastic
Copy link
Member

jgowdyelastic commented Aug 9, 2019

Kibana version: 7.3

Adding xpack.watcher.enabled: false to elasticsearch.yml doesn't disable watcher in kibana. Instead the plug in appears in a broken state.
It's possible to see the list of existing watches, but clicking on a watch hangs with a loading spinner.
Creating a watch lets you get to the end of the process before failing with a seemingly unrelated error.

image

@jgowdyelastic jgowdyelastic changed the title [Watcher] Disabling watcher in elasticsearch.yml doesn't disabling watching in kibana [Watcher] Disabling watcher in elasticsearch.yml doesn't disable watcher in kibana Aug 9, 2019
@cjcenizal
Copy link
Contributor

cjcenizal commented Aug 12, 2019

If Watcher is disabled on a node, it will only not run on that one node. So I think we can address this by hitting GET /_nodes and checking that settings.xpack.watcher.enabled is true on at least one of the nodes in the result:

{
  "nodes" : {
    "6r614rBHTCO-y-ahY-Ly3w" : {
      "settings" : {
        "xpack" : {
          "watcher" : {
            "enabled" : "false"
          }
        }
      }
    }
  }
}

@cjcenizal cjcenizal added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label May 12, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Watcher Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

3 participants