# Installing watcher plugin fails on elasticsearch 6.7

**URL:** https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386
**Category:** Elasticsearch
**Created:** [July 26, 2019, 8:30am UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386 "2019-07-26T08:30:42Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)
#### Post date: [July 26, 2019, 8:30am UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386/1 "2019-07-26T08:30:43Z")

</div>

Hi,

```
I have elasticsearch ver 6.7. I want to install watcher plugin. My ELK can reach internet only via proxy. So to install plugin I am doing following as elasticsearch user 

ES_JAVA_OPTS="-Dhttp.proxyHost=my_proxy_ip -Dhttp.proxyPort=80 -Dhttps.proxyHost=my_proxy_ip -Dhttps.proxyPort=80"

then 

/opt/elk/elasticsearch/bin/elasticsearch-plugin install watcher
A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - removes a plugin from Elasticsearch

Non-option arguments:
command

Option Description
------ -----------
-h, --help show help
-s, --silent show minimal output
-v, --verbose show verbose output
ERROR: Unknown plugin watcher

```

I am not sure why it is failing. Can someone please guide ?

Regards,  
-Manish

---

<div class="post-metadata">

### Author: ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)
#### Post date: [July 27, 2019, 2:18pm UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386/2 "2019-07-27T14:18:48Z")

</div>

> [@mkain](#):
>
> ERROR: Unknown plugin watcher

Watcher isn’t a plugin in 6.7. Instead, you want to download the default distribution that bundles X-Pack, which includes Watcher.

---

<div class="post-metadata">

### Author: ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)
#### Post date: [July 29, 2019, 3:40am UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386/3 "2019-07-29T03:40:48Z")

</div>

Hi @jasontedor,

Thanks for responding.

> > you want to download the default distribution that bundles X-Pack, which includes Watcher.

Do you mean to say, shall I install rpm or deb package instead of tar ?

My setup is already working, now is there a way to get "watcher" plugin ?

Regards,  
-Manish

---

<div class="post-metadata">

### Author: ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)
#### Post date: [July 30, 2019, 5:01am UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386/4 "2019-07-30T05:01:11Z")

</div>

I just now checked it in x-pack. It says "watcher" is unavailable

curl -XGET '[http://localhost:9200/\_xpack](http://localhost:9200/_xpack)'

```
  "watcher":{
     "description":"Alerting, Notification and Automation for the Elastic Stack",
     "available":false,
     "enabled":true
  }

```

How can I get it on tar installed elasticsearch ?

Regards,  
-Manish

---

<div class="post-metadata">

### Author: ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)
#### Post date: [July 31, 2019, 3:50pm UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386/5 "2019-07-31T15:50:16Z")

</div>

Watcher is a licensed feature, you need a trial license to try it out, or a subscription after your trial license expires.

---

<div class="post-metadata">

### Author: ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)
#### Post date: [August 1, 2019, 5:44am UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386/6 "2019-08-01T05:44:19Z")

</div>

Thanks @jasontedor, I have filled the contact form at [https://www.elastic.co/subscriptions](https://www.elastic.co/subscriptions)

I hope someone will contact me soon.

Regards,  
-Manish

---

<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: [August 1, 2019, 6:53am UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386/7 "2019-08-01T06:53:46Z")

</div>

FYI you can activate a trial yourself from the Kibana UI in the license management menu.

---

<div class="post-metadata">

### Author: ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)
#### Post date: [August 6, 2019, 1:44am UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386/8 "2019-08-06T01:44:52Z")

</div>

Thanks @dadoonet, I have now activated trial license. exploring watcher to trigger REST call to SNOW.

Regards,  
-Manish

---

<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: [September 3, 2019, 1:44am UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386/9 "2019-09-03T01:44:56Z")

</div>

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