# ELK 6.x \[beat\] cannot import templates in kibana

**URL:** https://discuss.elastic.co/t/elk-6-x-beat-cannot-import-templates-in-kibana/99806
**Category:** Beats
**Created:** [September 8, 2017, 7:01am UTC](https://discuss.elastic.co/t/elk-6-x-beat-cannot-import-templates-in-kibana/99806 "2017-09-08T07:01:17Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MarcusCaepio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcuscaepio/32/32458_2.png) [@MarcusCaepio](https://discuss.elastic.co/u/MarcusCaepio)
#### Post date: [September 8, 2017, 7:01am UTC](https://discuss.elastic.co/t/elk-6-x-beat-cannot-import-templates-in-kibana/99806/1 "2017-09-08T07:01:18Z")

</div>

Hi all,  
just testing elk 6.  
When I try to import the metricbeat dashboards like  
` ./metricbeat setup -c /etc/metricbeat/metricbeat.yml`  
I just get:

> Loaded index template  
> Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing directory /usr/share/metricbeat/bin/kibana: No directory /usr/share/metricbeat/bin/kibana/default

In fact the folder isn't there. I installed metricbeat via .deb package. Is there sth. missing?

---

<div class="post-metadata">

### Author: ![monica](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/monica/32/3696_2.png) [@monica](https://discuss.elastic.co/u/monica)
#### Post date: [September 8, 2017, 7:14pm UTC](https://discuss.elastic.co/t/elk-6-x-beat-cannot-import-templates-in-kibana/99806/2 "2017-09-08T19:14:40Z")

</div>

Are you trying 6.0.0-beta1 or 6.0.0-beta2 release? We are not able to reproduce the issue with the beta2 deb package.

---

<div class="post-metadata">

### Author: ![MarcusCaepio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcuscaepio/32/32458_2.png) [@MarcusCaepio](https://discuss.elastic.co/u/MarcusCaepio)
#### Post date: [September 8, 2017, 7:42pm UTC](https://discuss.elastic.co/t/elk-6-x-beat-cannot-import-templates-in-kibana/99806/3 "2017-09-08T19:42:39Z")

</div>

Hi monica,  
I had this problem with metricbeat 6.0.0-beta2 deb64.  
reason was, that the kibana folder was not in /usr/share/metricbeat/bin/kibana but in /usr/share/metricbeat/kibana. After moving it to the right folder, I could import the dashboards. Maybe the package maintainer could have a look to this. I think the kibana folder is installed to a wrong location, when it is installing via dpkg.

Regards,  
Marcus

---

<div class="post-metadata">

### Author: ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)
#### Post date: [September 8, 2017, 7:50pm UTC](https://discuss.elastic.co/t/elk-6-x-beat-cannot-import-templates-in-kibana/99806/4 "2017-09-08T19:50:27Z")

</div>

Hi @MarcusCaepio,

From what I see in your call it seems you are executing the `metricbeat`from `/usr/share/metricbeat/bin/`. Our deb packages expect you to use a wrapper script located under `/usr/bin/metricbeat`, that will set the right paths for config files and kibana dashboards.

Can you please try to load the dashboards just by typing `metricbeat setup`? (notice I didn't add `./`)

---

<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: [September 29, 2017, 7:01am UTC](https://discuss.elastic.co/t/elk-6-x-beat-cannot-import-templates-in-kibana/99806/5 "2017-09-29T07:01:35Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
