# Upgrade stopped monitoring

**URL:** https://discuss.elastic.co/t/upgrade-stopped-monitoring/137880
**Category:** Elasticsearch
**Created:** [June 29, 2018, 12:07am UTC](https://discuss.elastic.co/t/upgrade-stopped-monitoring/137880 "2018-06-29T00:07:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Karthik\_Ramachandran](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)
#### Post date: [June 29, 2018, 12:07am UTC](https://discuss.elastic.co/t/upgrade-stopped-monitoring/137880/1 "2018-06-29T00:07:44Z")

</div>

Environment Info  
We had two clusters with version 6.2.1, where one is dedicated for monitoring. The monitoring cluster was also monitoring logstash (Docker 6.2). We upgraded the monitoring cluster to 6.3 from 6.2.1.

Result

- ES cluster that is 6.2.1 is still sending data to monitoring without any issues
- Logstash is not sending any monitoring data
- ES monitoring cluster 6.3 (Local Monitoring) is also not working.

Looking at \_cat/indices in monitoring cluster (6.3), there were no new indices created for logstash (monitoring-logstash-6-2018.06....). It stopped creating indices that would host logstash data, which rolls daily

Also, querying GET /.monitoring-es-6-2018.06.\*/\_search doesn't yield any result for local (monitoring) cluster post the time of upgrade.

Validated the below settings and ensured they are proper w.r.t ES URL, user/password etc.

1. License It is valid in both monitoring and the other es cluster
2. xPack settings with appropriate local exporter (for monitoring)
3. xpack configuration in logstash

Not sure how the 6.2.1 cluster alone sends monitoring data to 6.3, but not the rest (logstash and local monitoring).

Am I missing anything? Any advice would be helpful.

---

<div class="post-metadata">

### Author: ![Karthik\_Ramachandran](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)
#### Post date: [June 29, 2018, 12:15am UTC](https://discuss.elastic.co/t/upgrade-stopped-monitoring/137880/2 "2018-06-29T00:15:11Z")

</div>

Trying

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

"To enable data collection, you must also set xpack.monitoring.collection.enabled to true. Its default value is false."

Will respond with status...

Now it started monitoring... But shows below message when kibana is used to see the data

Your Invalid license is inactive  
Your license will expire on June 29, 2018 12:24 AM UTC. + .....

But GET \_xpack/license provides below

"expiry\_date": "2019-..... with status active  
Should I register license again after enabling monitoring?

Hmm. Registering again didn't yield right result. The messages are same in kibana  
Navigation Path  
Kibana-Monitoring-\<\<Lists clusters both 6.2.1 and 6.3 \>\>

6.3 says license invalid with June 29, though the GET \_xpack/license API in the cluster gives me a different day, which is very far and not basic.

Again - Am I missing any ☹

---

<div class="post-metadata">

### Author: ![Karthik\_Ramachandran](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)
#### Post date: [June 29, 2018, 6:20pm UTC](https://discuss.elastic.co/t/upgrade-stopped-monitoring/137880/3 "2018-06-29T18:20:50Z")

</div>

Still the issue persist. The licenses are all good and valid for long time.

Not able to view the data from kibana monitoring, though I see the data get collected by querying indices.  
☹

---

<div class="post-metadata">

### Author: ![dalamar666](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@dalamar666](https://discuss.elastic.co/u/dalamar666)
#### Post date: [June 29, 2018, 7:45pm UTC](https://discuss.elastic.co/t/upgrade-stopped-monitoring/137880/4 "2018-06-29T19:45:41Z")

</div>

I have kibana working great but not logstash. Want to trade configs??

---

<div class="post-metadata">

### Author: ![Karthik\_Ramachandran](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)
#### Post date: [June 29, 2018, 9:33pm UTC](https://discuss.elastic.co/t/upgrade-stopped-monitoring/137880/5 "2018-06-29T21:33:10Z")

</div>

I just executed below against my new 6.3 monitoring cluster, and it started monitoring logstash, and my monitoring elastic environment. Even before I executed this command, the other elastic environment, which was in 6.2 continued to send data to the monitoring cluster without executing the command.

PUT \_cluster/settings  
{  
"persistent": {  
"xpack.monitoring.collection.enabled": true  
}  
}

But, kibana doesn't allow me to view the monitoring data of monitoring cluster/logstash, though it still allows viewing other cluster. We are not monitoring kibana though, but use it to view only the other clusters.

I'm able to see data of my 6.2 cluster, monitoring cluster and logstash using monitoring indices. But kibana is showing license issue for monitoring cluster and logstash, though the license sare valid.

Hope the above helps.

---

<div class="post-metadata">

### Author: ![dalamar666](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@dalamar666](https://discuss.elastic.co/u/dalamar666)
#### Post date: [July 2, 2018, 12:55pm UTC](https://discuss.elastic.co/t/upgrade-stopped-monitoring/137880/6 "2018-07-02T12:55:38Z")

</div>

Thank you!! Testing now.

This is the config I have in my kibana.yml. It is the only thing I have changed from 6.2  
xpack.security.enabled: false  
xpack.graph.enabled: true  
xpack.ml.enabled: true  
xpack.monitoring.enabled: true  
xpack.watcher.enabled: true  
xpack.monitoring.kibana.collection.enabled: true  
xpack.monitoring.ui.enabled: true

---

<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: [July 30, 2018, 12:55pm UTC](https://discuss.elastic.co/t/upgrade-stopped-monitoring/137880/7 "2018-07-30T12:55:40Z")

</div>

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

---

<div class="post-metadata">

### Author: ![PhaedrusTheGreek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phaedrusthegreek/32/4884_2.png) [@PhaedrusTheGreek](https://discuss.elastic.co/u/PhaedrusTheGreek)
#### Post date: [July 2, 2019, 6:36pm UTC](https://discuss.elastic.co/t/upgrade-stopped-monitoring/137880/8 "2019-07-02T18:36:53Z")

</div>

The error "Your Invalid license is inactive" (when the license is actually valid) can be caused by running a mismatched Kibana version.
