# Load only some metricbeat dashboards

**URL:** <https://discuss.elastic.co/t/load-only-some-metricbeat-dashboards/152899>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 17, 2018, 6:43pm UTC](https://discuss.elastic.co/t/load-only-some-metricbeat-dashboards/152899 "2018-10-17T18:43:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sentient](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sentient/32/34996_2.png) [@sentient](https://discuss.elastic.co/u/sentient)\
**Post date:** [October 17, 2018, 6:43pm UTC](https://discuss.elastic.co/t/load-only-some-metricbeat-dashboards/152899/1 "2018-10-17T18:43:16Z")

</div>

I would like to import only some metricbeat dashboards into kibana.

The metricbeat setup has no flags for --modules

What is the recommended way to do this?

On a different note: the documentation shows the filebeat usage on the metricbeat command ??  
([https://www.elastic.co/guide/en/beats/devguide/6.x/import-dashboards.html](https://www.elastic.co/guide/en/beats/devguide/6.x/import-dashboards.html))

The documentation also mentions to upload from a zip file. But I cannot figure out the structure of the zip file?  
./metricbeat setup -E setup.dashboards.file=metricbeat-dashboards-6.0.zip

A link to the example file would have been helpful

Are there any community dashboards?

Thanks

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [October 17, 2018, 7:45pm UTC](https://discuss.elastic.co/t/load-only-some-metricbeat-dashboards/152899/2 "2018-10-17T19:45:42Z")

</div>

Hi @sentient 🙂

It's a bit dependant on how did you install metricbeat. Here you have some configuration options to load dashboards [https://www.elastic.co/guide/en/beats/metricbeat/6.2/configuration-dashboards.html](https://www.elastic.co/guide/en/beats/metricbeat/6.2/configuration-dashboards.html)

Basically, it looks for the path of the dashboads and loads every file it finds in `setup.dashboards.directory` if it is set or in the default path if not.

I'm not sure where the files with each dashboard are installed in RPM or DEB, I guess somewhere in `/etc` For your reference, they all look like this: [https://github.com/elastic/beats/tree/master/metricbeat/module/kubernetes/\_meta/kibana/6/dashboard](https://github.com/elastic/beats/tree/master/metricbeat/module/kubernetes/_meta/kibana/6/dashboard)

You'll find a `Metricbeat-*.json` for each module we have. Just delete the ones you don't before before loading them into Kibana

---

<div class="post-metadata">

**Author:** ![sentient](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sentient/32/34996_2.png) [@sentient](https://discuss.elastic.co/u/sentient)\
**Post date:** [October 17, 2018, 8:20pm UTC](https://discuss.elastic.co/t/load-only-some-metricbeat-dashboards/152899/3 "2018-10-17T20:20:15Z")

</div>

Thanks Mario,

Do you know the format of the zip file?  
Or is it just and json file that is stored in the zip file

When I try a zip with just one json file I get an error

> ```
> metricbeat setup -E "setup.kibana.host=http://localhost:5601" -E "setup.dashboards.file=dashboards.zip" 
> Loaded index template
> Loading dashboards (Kibana must be running and reachable)
> Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing URL/file: Too many directories under /tmp/tmp295270073
> 
> ```

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [October 17, 2018, 8:34pm UTC](https://discuss.elastic.co/t/load-only-some-metricbeat-dashboards/152899/4 "2018-10-17T20:34:05Z")

</div>

> [@sentient](#):
>
> Do you know the format of the zip file?

Not really, but as a workaround you can try with the `setup.dashboards.directory`instead and just place the json files inside that folder (no need of zip)

---

<div class="post-metadata">

**Author:** ![sentient](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sentient/32/34996_2.png) [@sentient](https://discuss.elastic.co/u/sentient)\
**Post date:** [October 17, 2018, 8:45pm UTC](https://discuss.elastic.co/t/load-only-some-metricbeat-dashboards/152899/5 "2018-10-17T20:45:21Z")

</div>

FYI It does look for a specific folder structure. E.g. the directory you reference must have a subfolder \6\

I think in general this is an area for improvement. Export and import a dasboard (with all dependencies) should not be too difficult.

I have a dashboard in environment A and would like to re-use it in environment B

The existing documentation talks about export and import. But the dots just don't connect yet.

---

<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:** [November 14, 2018, 8:59pm UTC](https://discuss.elastic.co/t/load-only-some-metricbeat-dashboards/152899/6 "2018-11-14T20:59:49Z")

</div>

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