# Follow up: Unable to fetch data from kibana collector

**URL:** <https://discuss.elastic.co/t/follow-up-unable-to-fetch-data-from-kibana-collector/162469>\
**Category:** Kibana\
**Created:** [December 31, 2018, 4:50am UTC](https://discuss.elastic.co/t/follow-up-unable-to-fetch-data-from-kibana-collector/162469 "2018-12-31T04:50:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [December 31, 2018, 4:50am UTC](https://discuss.elastic.co/t/follow-up-unable-to-fetch-data-from-kibana-collector/162469/1 "2018-12-31T04:50:27Z")

</div>

I'm still getting same behavior w/ 6.5.4 as well:

[Unable to fetch data from kibana collector - Kibana - Discuss the Elastic Stack](https://discuss.elastic.co/t/unable-to-fetch-data-from-kibana-collector/142196)

@chrisronline - I'm not getting anything else in logs.

After I set `logging.verbose` to `true`, I now see

> Fetching data from kibana collector

right before:

> Unable to fetch data from kibana collector

another message that I found closest to error is:

> not sending [kibana\_settings] monitoring document because [undefined] is null or invalid.

not sure if that's related or not or maybe just caused by initial error.

Please advise.

---

<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:** [January 2, 2019, 4:26pm UTC](https://discuss.elastic.co/t/follow-up-unable-to-fetch-data-from-kibana-collector/162469/2 "2019-01-02T16:26:06Z")

</div>

Hi @alexus,

I'm honestly not sure. Per [the code](https://github.com/elastic/kibana/blob/6.5/src/server/usage/classes/collector_set.js#L88), there should be an error message logged right before the `Unable to fetch data from kibana collector`. But we can try and figure out what is happening in the kibana collector that might cause an error.

Can you run this query and post the results?

```auto
POST .kibana*/_search
{
  "size": 0,
  "query": {
    "terms": {
      "type": [
        "dashboard",
        "visualization",
        "search",
        "index-pattern",
        "graph-workspace",
        "timelion-sheet"
      ]
    }
  },
  "aggs": {
    "types": {
      "terms": {
        "field": "type",
        "size": 6
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [January 2, 2019, 8:42pm UTC](https://discuss.elastic.co/t/follow-up-unable-to-fetch-data-from-kibana-collector/162469/3 "2019-01-02T20:42:10Z")

</div>

```
{
  "took" : 20,
  "timed_out" : false,
  "_shards" : {
    "total" : 16,
    "successful" : 16,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : x,
    "max_score" : 0.0,
    "hits" : []
  },
  "aggregations" : {
    "types" : {
      "doc_count_error_upper_bound" : 0,
      "sum_other_doc_count" : 0,
      "buckets" : [
        {
          "key" : "visualization",
          "doc_count" : x
        },
        {
          "key" : "search",
          "doc_count" : x
        },
        {
          "key" : "dashboard",
          "doc_count" : x
        },
        {
          "key" : "index-pattern",
          "doc_count" : x
        }
      ]
    }
  }
}
```

---

<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:** [January 7, 2019, 2:24pm UTC](https://discuss.elastic.co/t/follow-up-unable-to-fetch-data-from-kibana-collector/162469/4 "2019-01-07T14:24:50Z")

</div>

I'm not seeing anything suspicious there. I'll continue to look and let you know if I find anything

---

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [January 7, 2019, 3:49pm UTC](https://discuss.elastic.co/t/follow-up-unable-to-fetch-data-from-kibana-collector/162469/5 "2019-01-07T15:49:25Z")

</div>

Thank you, I appreciate it.

---

<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:** [February 4, 2019, 3:49pm UTC](https://discuss.elastic.co/t/follow-up-unable-to-fetch-data-from-kibana-collector/162469/6 "2019-02-04T15:49:29Z")

</div>

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