# Metricbeat Kibana dashboard not loading

**URL:** https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348
**Category:** Beats
**Tags:** metricbeat
**Created:** [April 22, 2020, 7:54pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348 "2020-04-22T19:54:23Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Keevin\_Ace\_Viray](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keevin_ace_viray/32/66917_2.png) [@Keevin\_Ace\_Viray](https://discuss.elastic.co/u/Keevin_Ace_Viray)
#### Post date: [April 22, 2020, 7:54pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348/1 "2020-04-22T19:54:24Z")

</div>

Hi,

I have setup Metricbeat(System module) -\> Kafka -\> Logstash -\> Elasticsearch -\> Kibana on our Linux local environment. I can see from the Discovery tab in Kibana that there is a lot of hits coming from Metricbeat, but once I loaded the generated Kibana dashboard for Metricbeat system module there are no data being loaded. Is there any additional config for this dashboard? Btw, my index is metricbeat-\*

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/d/3d8d47681cc9a7da83579a28e385d98f26495d77.png)

---

<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: [April 22, 2020, 9:15pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348/2 "2020-04-22T21:15:47Z")

</div>

Hi @Keevin_Ace_Viray, welcome to the Elastic community forums!

A couple of questions:

1. What version(s) of Metricbeat, Elasticsearch, and Kibana are you using?

2. Could you post the results of the following query please?

Thanks,

Shaunak

---

<div class="post-metadata">

### Author: ![Keevin\_Ace\_Viray](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keevin_ace_viray/32/66917_2.png) [@Keevin\_Ace\_Viray](https://discuss.elastic.co/u/Keevin_Ace_Viray)
#### Post date: [April 22, 2020, 9:59pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348/3 "2020-04-22T21:59:31Z")

</div>

Hi @shaunak, thank you!

1. I'm using version 7.6.2
2. Please see below.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/3/33921aa28fd235ff0635ca89f14bbcd269c8ae84.png)

---

<div class="post-metadata">

### Author: ![Keevin\_Ace\_Viray](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keevin_ace_viray/32/66917_2.png) [@Keevin\_Ace\_Viray](https://discuss.elastic.co/u/Keevin_Ace_Viray)
#### Post date: [April 23, 2020, 5:31pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348/4 "2020-04-23T17:31:05Z")

</div>

Hi,

I'm using version 7.6.1. Please see screenshot below.

 ![image.png](https://us1.discourse-cdn.com/elastic/original/3X/3/3/33921aa28fd235ff0635ca89f14bbcd269c8ae84.png)

---

<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: [April 23, 2020, 6:05pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348/5 "2020-04-23T18:05:25Z")

</div>

Hmm, it looks like mappings might be missing. Could you please post the results of the following queries?

```auto
GET _cat/templates/metricbeat*
GET _template/metricbeat-*?filter_path=*.mappings
GET metricbeat-*/_mapping

```

The results of the last two queries might be large so feel free to post them on [https://pastebin.com/](https://pastebin.com/) or [http://gist.github.com/](http://gist.github.com/) first and then post the links here.

Thanks,

Shaunak

---

<div class="post-metadata">

### Author: ![Keevin\_Ace\_Viray](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keevin_ace_viray/32/66917_2.png) [@Keevin\_Ace\_Viray](https://discuss.elastic.co/u/Keevin_Ace_Viray)
#### Post date: [April 23, 2020, 6:33pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348/6 "2020-04-23T18:33:23Z")

</div>

Hi,

I only got response from the third query you provided.  
[https://pastebin.com/gkZAqWD5](https://pastebin.com/gkZAqWD5)

---

<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: [April 23, 2020, 6:45pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348/7 "2020-04-23T18:45:39Z")

</div>

Thanks, that's useful. It tells us that for some reason the Metricbeat index templates did not get created. As a result, the Metricbeat data is being indexed in with default mappings as it comes in to Elasticsearch. These mappings are not what the dashboards expect, which would explain why they are blank.

> [@Keevin\_Ace\_Viray](#):
>
> I have setup Metricbeat(System module) -\> Kafka -\> Logstash -\> Elasticsearch -\> Kibana

This is probably why the Metricbeat templates didn't get loaded automatically. Whenever Metricbeat sends it's data to Elasticsearch indirectly — as is the case with your setup — Metricbeat doesn't have a direct connection to Elasticsearch. As such it cannot automatically load the index templates into Elasticsearch at startup. To account for such setups, Metricbeat has a `setup` command that must be run prior to starting Metricbeat for ingesting data. You can learn more about this over here: [Load the Elasticsearch index template | Metricbeat Reference [8.11] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-template.html).

Shaunak

---

<div class="post-metadata">

### Author: ![Keevin\_Ace\_Viray](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keevin_ace_viray/32/66917_2.png) [@Keevin\_Ace\_Viray](https://discuss.elastic.co/u/Keevin_Ace_Viray)
#### Post date: [April 23, 2020, 6:51pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348/8 "2020-04-23T18:51:43Z")

</div>

I see, I was thinking if I should have connected Metricbeat directly to Elasticsearch first on the initial setup so that the templates will be loaded first. Then change it to my intended setup. Anyway, I will check first the link you provided.

---

<div class="post-metadata">

### Author: ![Keevin\_Ace\_Viray](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keevin_ace_viray/32/66917_2.png) [@Keevin\_Ace\_Viray](https://discuss.elastic.co/u/Keevin_Ace_Viray)
#### Post date: [April 23, 2020, 7:33pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348/9 "2020-04-23T19:33:02Z")

</div>

> [@shaunak](#):
>
> GET metricbeat-\*/\_mapping

Finally got it to work! Thank you so much @shaunak for the help! 🙂

---

<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: [May 21, 2020, 7:45pm UTC](https://discuss.elastic.co/t/metricbeat-kibana-dashboard-not-loading/229348/10 "2020-05-21T19:45:06Z")

</div>

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