# No monitoring data collected

**URL:** <https://discuss.elastic.co/t/no-monitoring-data-collected/160348>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [December 11, 2018, 10:44am UTC](https://discuss.elastic.co/t/no-monitoring-data-collected/160348 "2018-12-11T10:44:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicola\_Ambrosetti\_Br](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@Nicola\_Ambrosetti\_Br](https://discuss.elastic.co/u/Nicola_Ambrosetti_Br)\
**Post date:** [December 11, 2018, 10:44am UTC](https://discuss.elastic.co/t/no-monitoring-data-collected/160348/1 "2018-12-11T10:44:24Z")

</div>

I've just setup a small elastic cluster with version 6.5.2. I've activated monitoring both in kibana and logstash and I can see that there are monitoring indexes for all:

```
[ambnic@myhome ~]$ curl http://localhost:9200/_cat/indices/.monitoring*?v
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open .monitoring-logstash-6-2018.12.11 2BSMhJ9LR5ekVpYMeDMeJA 1 1 0 0 522b 261b
green open .monitoring-es-6-2018.12.11 2nLZ-fGRSlCtXxCMZc_KpQ 1 1 0 0 522b 261b
green open .monitoring-kibana-6-2018.12.11 y5rgH1emQWyZJNwCwKGOmA 1 1 0 0 522b 261b

```

As you can see the docs.count is 0 for all indices and in Kibana I get "No monitoring data found. Try setting the time filter to "Last 1 hour" or check if data is available for a different time period."

Everything is setup as per defaults and my cluster settings are as follows:

```
[ambnic@myhome ~]$ curl -X GET "localhost:9200/_cluster/settings?pretty" 
{
  "persistent" : {
    "xpack" : {
      "monitoring" : {
        "collection" : {
          "enabled" : "true"
        }
      }
    }
  },
  "transient" : { }
}

```

As far as I understand monitoring data should be collected every 10s be default, but I still cannot see anything. Note also that I'm sending in some logs data and that works perfectly fine.

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [December 11, 2018, 10:56am UTC](https://discuss.elastic.co/t/no-monitoring-data-collected/160348/2 "2018-12-11T10:56:17Z")

</div>

Are you seeing an errors in your Elasticsearch logs, particularly on your master node?

---

<div class="post-metadata">

**Author:** ![Nicola\_Ambrosetti\_Br](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@Nicola\_Ambrosetti\_Br](https://discuss.elastic.co/u/Nicola_Ambrosetti_Br)\
**Post date:** [December 11, 2018, 11:46am UTC](https://discuss.elastic.co/t/no-monitoring-data-collected/160348/3 "2018-12-11T11:46:28Z")

</div>

In the logs I get

> Caused by: java.lang.IllegalStateException: There are no ingest nodes in this cluster, unable to forward request to an ingest node.

Indeed I have three master/data nodes but no ingest node. I have now set all as as also ingest nodes and indeed it solved my issue.

I suspected that that could be the cause, but I found nothing in the documentation on monitoring and on the local exporter that pointed to the necessity of ingest nodes. You might want see over the documentation on that point ([Collecting monitoring data | Elasticsearch Guide [6.5] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/6.5/collecting-monitoring-data.html#collecting-monitoring-data)).

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [December 11, 2018, 9:10pm UTC](https://discuss.elastic.co/t/no-monitoring-data-collected/160348/4 "2018-12-11T21:10:10Z")

</div>

Thanks @Nicola_Ambrosetti_Br. I've created a GitHub issue to track the documentation work you suggested: [https://github.com/elastic/elasticsearch/issues/36508](https://github.com/elastic/elasticsearch/issues/36508)

---

<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:** [January 8, 2019, 9:10pm UTC](https://discuss.elastic.co/t/no-monitoring-data-collected/160348/5 "2019-01-08T21:10:13Z")

</div>

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