# Elasticsearch 5.6.9 and x-pack monitoring

**URL:** https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088
**Category:** Kibana
**Tags:** elastic-stack-monitoring
**Created:** [August 13, 2019, 7:26pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088 "2019-08-13T19:26:45Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 13, 2019, 7:26pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/1 "2019-08-13T19:26:45Z")

</div>

The elasticsearch is running version 5.6.9 I like to monitor cluster with x-pack monitoring (free features given in later versions). It is complaining about licenses. Can it be turned off without upgrading cluster to 6 or 7?

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 13, 2019, 7:38pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/2 "2019-08-13T19:38:51Z")

</div>

Hi @shradhatx,

What error about licensing are you seeing? What license do you currently have applied? Can you share the output of:

`curl -XGET "localhost:9200/_xpack/license" -u elastic`

I included the `-u elastic` on the assumption that security is still enabled.

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 13, 2019, 7:44pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/3 "2019-08-13T19:44:31Z")

</div>

> [@chrisronline](#):
>
> curl -XGET "localhost:9200/\_xpack/license" -u elastic

curl: (7) Failed connect to localhost:9200; Connection refused

I am not interested in x-pack security. At this point want to try monitoring.

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 13, 2019, 7:49pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/4 "2019-08-13T19:49:40Z")

</div>

oh wait a min. Elastic is running on another ip.  
curl -XGET "ip:9200/\_xpack/license" -u elastic

It asks for password for elastic. I gave 'logmein' and it returns  
{"error":{"root\_cause":[{"type":"illegal\_argument\_exception","reason":"No endpoint or operation is available at [license]"}],"type":"illegal\_argument\_exception","reason":"No endpoint or operation is available at [license]"},"status":400}  
@chrisronline thanks Chris for your reply. whats the best way to monitor 5.6.9 cluster with x-pack? Upgrade to 6.x may require some time

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 13, 2019, 7:58pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/5 "2019-08-13T19:58:20Z")

</div>

My bad, wrong endpoint. Try: `curl -XGET "ip:9200/_xpack" -u elastic`

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 13, 2019, 8:00pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/6 "2019-08-13T20:00:20Z")

</div>

{"error":{"root\_cause":[{"type":"illegal\_argument\_exception","reason":"No endpoint or operation is available at [\_xpack]"}],"type":"illegal\_argument\_exception","reason":"No endpoint or operation is available at [\_xpack]"},"status":400}

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 13, 2019, 8:01pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/7 "2019-08-13T20:01:27Z")

</div>

Do you have x-pack installed? If not, see [https://www.elastic.co/guide/en/elasticsearch/reference/5.6/installing-xpack-es.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/installing-xpack-es.html)

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 13, 2019, 8:01pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/8 "2019-08-13T20:01:59Z")

</div>

Yes, i have it installed

log [19:17:08.955] [info][status][plugin:elasticsearch@5.6.9] Status changed from yellow to green - Kibana index ready  
log [19:17:08.968] [warning][license][xpack] License information could not be obtained from Elasticsearch

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 13, 2019, 8:04pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/9 "2019-08-13T20:04:14Z")

</div>

That looks like a Kibana log.

Can you run this command in your ES install directory and return the results? `./bin/elasticsearch-plugin list`

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 13, 2019, 8:11pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/10 "2019-08-13T20:11:09Z")

</div>

> [@chrisronline](#):
>
> ./bin/elasticsearch-plugin list

search-guard-5

@chrisronline - There are two more plugins for  
our application

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 13, 2019, 8:23pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/11 "2019-08-13T20:23:46Z")

</div>

@chrisronline appreciate your response. Is it even possible to get a trial license for x-pack 5.6.9  
We are not using search-guard. It can be uninstalled. What's your suggestion with x-pack on 5.6.9 There is a possibility of buying the Gold support for paid feature when we have demoed to stakeholders.

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 13, 2019, 10:14pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/12 "2019-08-13T22:14:16Z")

</div>

@chrisronline appreciate an answer please. Is it possible to have x-pack monitoring in v5?

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 14, 2019, 1:30pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/13 "2019-08-14T13:30:01Z")

</div>

Yes, you can install x-pack and use monitoring in v5.

[https://www.elastic.co/guide/en/elasticsearch/reference/5.6/monitoring-settings.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/monitoring-settings.html)

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 14, 2019, 10:07pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/14 "2019-08-14T22:07:26Z")

</div>

@chrisronline thank you. I got it working. I see it gives a trial license for a month. Is it possible to get x-pack monitoring basic features extended beyond a month?

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 15, 2019, 1:11pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/15 "2019-08-15T13:11:32Z")

</div>

@chrisronline - can the ES nodes(5.6.9 with x-pack plugin) send metrics to ES monitoring node on 7.3 so we can get dashboards on Kibana 7.3. Will the basic monitoring features then work without requiring license?

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 15, 2019, 3:19pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/16 "2019-08-15T15:19:46Z")

</div>

> In general, the monitoring cluster and the clusters being monitored should be running the same version of the stack. A monitoring cluster cannot monitor production clusters running newer versions of the stack. If necessary, the monitoring cluster can monitor production clusters running the latest release of the previous major version.

Taken from [How monitoring works | Elastic Stack Overview [7.4] | Elastic](https://www.elastic.co/guide/en/elastic-stack-overview/current/how-monitoring-works.html)

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 15, 2019, 4:39pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/17 "2019-08-15T16:39:56Z")

</div>

@chrisronline thanks. Monitoring cluster 6.x monitoring production cluster running 5.x -- thats what we want - perfect. Another question related to planning for Gold subscription for monitoring reasons - is the subscription by the #node of monitoring cluster or monitored cluster or flat fee? If you want to answer this separately - can you or someone contact please?

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 15, 2019, 5:51pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/18 "2019-08-15T17:51:29Z")

</div>

Please use the contact form for all questions around subscriptions: [https://www.elastic.co/subscriptions#contact-us](https://www.elastic.co/subscriptions#contact-us)

---

<div class="post-metadata">

### Author: ![shradhatx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shradhatx/32/45398_2.png) [@shradhatx](https://discuss.elastic.co/u/shradhatx)
#### Post date: [August 21, 2019, 5:50pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/19 "2019-08-21T17:50:40Z")

</div>

@chrisronline I setup an elastic monitoring node with ES v5.6.9 and kibana v5.6.9 to monitor 3 node ES v5.6.9 3 cluster with x-pack.monitoring exporters, setting in elasticsearch.yml

xpack.monitoring.enabled: false  
xpack.monitoring.collection.indices: volume\_\*  
xpack.monitoring.exporters.my\_remote.type: http  
xpack.monitoring.exporters.my\_remote.host: ["ip of monitoring es node"]  
xpack.security.enabled: false

The monitoring node elasticsearch.yml has -  
xpack.security.enabled: false  
xpack.watcher.enabled: false  
xpack.monitoring.enabled: true  
xpack.monitoring.history.duration: 2d

kibana.yml has  
xpack.monitoring.elasticsearch.url: "ip of monitoring node: 9200"

The Monitoring dashboard does not show the remote 3 node cluster status. It only shows the status of the monitoring cluster/node.

What's missing or not set correctly in the yml?

I set the on the monitoring ES  
\_all/\_settings?preserve\_existing=true' -d '{ "index.blocks.write" : "false"  
}’  
just because I was getting this error on kibana dashboard

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 21, 2019, 6:05pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088/20 "2019-08-21T18:05:21Z")

</div>

> [@shradhatx](#):
>
> xpack.monitoring.enabled: false

It looks like monitoring is disabled. You'll also need to enable collection too.

Please see [Monitoring settings in Elasticsearch | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/monitoring-settings.html)

[Next page](https://discuss.elastic.co/t/elasticsearch-5-6-9-and-x-pack-monitoring/195088.md?page=2)
