# Installation of Watcher on Windows fails

**URL:** <https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241>\
**Category:** Elasticsearch\
**Created:** [March 12, 2020, 3:59am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241 "2020-03-12T03:59:35Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![aviman](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aviman](https://discuss.elastic.co/u/aviman)\
**Post date:** [March 12, 2020, 3:59am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/1 "2020-03-12T03:59:35Z")

</div>

Hi,

I am trying to install Watcher on Windows.  
But the commands fails.

Images below

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5aa4b6559c2bb4a8449b981f6762ed35704fcf60.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/5/b525e4cc6cdf1b0388e73e6cd4fb449da4071a2c.png)

Please help debugging the issue.

Thanks

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 12, 2020, 5:59am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/2 "2020-03-12T05:59:45Z")

</div>

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with `</>` icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

Watcher is part of the default distribution. You don't have to install anything.

---

<div class="post-metadata">

**Author:** ![aviman](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aviman](https://discuss.elastic.co/u/aviman)\
**Post date:** [March 12, 2020, 6:55am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/3 "2020-03-12T06:55:29Z")

</div>

Hi David,

My Elastic installed, do not list watcher.

Tried the instructions on page - [Download Watcher | Alerting for Elasticsearch](https://www.elastic.co/downloads/watcher)

But install of Watcher failed on my Windows machine

When I ran the command:

> > elasticsearch-plugin install elasticsearch/license/latest

it give below messages:  
--\> Installing license  
--\> Failed installing license  
--\> Rolling back license  
--\> Rolled back license

Thanks,  
Avijit

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 12, 2020, 8:11am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/4 "2020-03-12T08:11:27Z")

</div>

> [@aviman](#):
>
> My Elastic installed, do not list watcher.

What did you install?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 12, 2020, 8:11am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/5 "2020-03-12T08:11:57Z")

</div>

> [@aviman](#):
>
> Tried the instructions on page

Those are instructions for a version 2.4.

---

<div class="post-metadata">

**Author:** ![aviman](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aviman](https://discuss.elastic.co/u/aviman)\
**Post date:** [March 12, 2020, 11:27am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/6 "2020-03-12T11:27:04Z")

</div>

elasticsearch-7.6.0 (Free trial)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 12, 2020, 11:57am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/7 "2020-03-12T11:57:56Z")

</div>

So watcher is there. Unless you did not take the default distribution but the `-oss` one.

---

<div class="post-metadata">

**Author:** ![aviman](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aviman](https://discuss.elastic.co/u/aviman)\
**Post date:** [March 12, 2020, 12:57pm UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/8 "2020-03-12T12:57:21Z")

</div>

Hi David,

Ok, will then try uninstall and reinstall ELk

Thanks

---

<div class="post-metadata">

**Author:** ![aviman](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aviman](https://discuss.elastic.co/u/aviman)\
**Post date:** [March 13, 2020, 5:13am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/9 "2020-03-13T05:13:27Z")

</div>

Hi David,

When i run command on cmd:

\bin\>elastisearch.bat

no plugins get installed. Below are couple of lines from bat file execution

> > [2020-03-13T08:44:23,675][INFO][o.e.p.PluginsService] [DESKTOP-DJC7G5I] loaded module [x-pack-watcher]  
> > [2020-03-13T08:44:23,676][INFO][o.e.p.PluginsService] [DESKTOP-DJC7G5I] no plugins loaded

What should I do to get Watcher plugin loaded

Thanks,  
Avijit

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 13, 2020, 7:08am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/10 "2020-03-13T07:08:33Z")

</div>

Did you notice this?

```
loaded module [x-pack-watcher]
```

---

<div class="post-metadata">

**Author:** ![aviman](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aviman](https://discuss.elastic.co/u/aviman)\
**Post date:** [March 13, 2020, 11:13am UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/11 "2020-03-13T11:13:06Z")

</div>

Hi David,

Yes.

When I go to kibana and go to management tab under Elastic I don't see the Watcher listed there.

If I want that to show up there. What additional steps I need to take.

Thanks,  
Avijit

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 13, 2020, 1:01pm UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/12 "2020-03-13T13:01:41Z")

</div>

You need to activate the trial license.  
I guess you have the basic one for now?

---

<div class="post-metadata">

**Author:** ![aviman](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aviman](https://discuss.elastic.co/u/aviman)\
**Post date:** [March 13, 2020, 1:12pm UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/13 "2020-03-13T13:12:24Z")

</div>

Hi David,

Thanks a lot!

Now I am able to view the Watcher, after activating the trial license on Kibana

Regards,  
Avijit

---

<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:** [April 10, 2020, 1:12pm UTC](https://discuss.elastic.co/t/installation-of-watcher-on-windows-fails/223241/14 "2020-04-10T13:12:25Z")

</div>

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