# No Monitoring Data Found(cluster\_stats not exist)

**URL:** https://discuss.elastic.co/t/no-monitoring-data-found-cluster-stats-not-exist/139251
**Category:** Elasticsearch
**Created:** [July 10, 2018, 2:20am UTC](https://discuss.elastic.co/t/no-monitoring-data-found-cluster-stats-not-exist/139251 "2018-07-10T02:20:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![laywin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/laywin/32/14059_2.png) [@laywin](https://discuss.elastic.co/u/laywin)
#### Post date: [July 10, 2018, 2:20am UTC](https://discuss.elastic.co/t/no-monitoring-data-found-cluster-stats-not-exist/139251/1 "2018-07-10T02:20:52Z")

</div>

hello, when i visit kibana monitoring, No Monitoring Data Found is present, i found .monitoring-es-6-\* indices doesn't have cluster\_stats and es cluster master node show the java.lang.NullPointerException.

detail exception:

[2018-07-09T00:00:10,644][ERROR][o.e.x.m.c.c.ClusterStatsCollector] [esm3] collector [cluster\_stats] failed to collect data  
java.lang.NullPointerException: null  
at org.elasticsearch.xpack.monitoring.collector.cluster.ClusterStatsCollector.doCollect(ClusterStatsCollector.java:119) ~[x-pack-6.1.2.jar:6.1.2]  
at org.elasticsearch.xpack.monitoring.collector.Collector.collect(Collector.java:100) [x-pack-6.1.2.jar:6.1.2]  
at org.elasticsearch.xpack.monitoring.MonitoringService$MonitoringExecution$1.doRun(MonitoringService.java:222) [x-pack-6.1.2.jar:6.1.2]  
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-6.1.2.jar:6.1.2]  
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0\_161]  
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0\_161]  
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:568) [elasticsearch-6.1.2.jar:6.1.2]  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0\_161]  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0\_161]  
at java.lang.Thread.run(Thread.java:748) [?:1.8.0\_161]

thanks advance!

---

<div class="post-metadata">

### Author: ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)
#### Post date: [July 13, 2018, 4:07pm UTC](https://discuss.elastic.co/t/no-monitoring-data-found-cluster-stats-not-exist/139251/2 "2018-07-13T16:07:41Z")

</div>

Hi @laywin,

This is very strange. The code is failing at a simple check for the license to determine if we should be using means that we should warn about TLS being required (a static Cluster Alert):

> <https://github.com/elastic/elasticsearch/blob/82cdb574cf746ef2c4336181a8399b8bcb11ff3e/x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsCollector.java#L107-L110>

For anything there to be `null` is very weird. Can you do a few things to explore this:

1. `GET /_xpack/license`
2. `GET /_nodes/settings` and search for `security`?

I have not heard of, nor seen this error before, so this is very odd.

Thanks,  
Chris

---

<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: [August 10, 2018, 4:08pm UTC](https://discuss.elastic.co/t/no-monitoring-data-found-cluster-stats-not-exist/139251/3 "2018-08-10T16:08:03Z")

</div>

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