# Import dashboards sample

**URL:** <https://discuss.elastic.co/t/import-dashboards-sample/90947>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [June 27, 2017, 10:58am UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947 "2017-06-27T10:58:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![abrejuin](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@abrejuin](https://discuss.elastic.co/u/abrejuin)\
**Post date:** [June 27, 2017, 10:58am UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947/1 "2017-06-27T10:58:09Z")

</div>

Hello,

After installed Metricbeat on a Windows server, I can get metricbeat logs in my elasticsearch.

Now, I want to import Metricbeat dashboards but I am failing with this error :  
./import\_dashboards -es "[http://localhost:9200](http://localhost:9200)" -i "idx-metricbeat-\*" -k ".kibana-plm" -only-dashboards  
Failed to set the mapping: Put [http://localhost:9200/.kibana-plm/\_mapping/search:](http://localhost:9200/.kibana-plm/_mapping/search:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Then I cannot find Dashboard in my Kibana available through Apache in my configuration.  
Thanks for your help

Best regards,  
Antoine

---

<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:** [June 27, 2017, 1:40pm UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947/2 "2017-06-27T13:40:33Z")

</div>

Hi @abrejuin,

Do you see any error in elasticsearch logs? It looks like the import dashboards script is getting a timeout while connecting to it

---

<div class="post-metadata">

**Author:** ![abrejuin](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@abrejuin](https://discuss.elastic.co/u/abrejuin)\
**Post date:** [June 27, 2017, 1:47pm UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947/3 "2017-06-27T13:47:07Z")

</div>

Hi,

Thanks for your reply.

I have just run again this command and nothing appears in log (standard log or depreciation log in /var/log/elasticserach).

---

<div class="post-metadata">

**Author:** ![abrejuin](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@abrejuin](https://discuss.elastic.co/u/abrejuin)\
**Post date:** [June 27, 2017, 1:58pm UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947/4 "2017-06-27T13:58:34Z")

</div>

If I don't stop the script, the script is still running:

./import\_dashboards -es "[http://localhost:9200](http://localhost:9200)" -i "idx-metricbeat-\*" -k ".kibana-plm" -only-dashboards  
Failed to set the mapping: Put [http://localhost:9200/.kibana-plm/\_mapping/search:](http://localhost:9200/.kibana-plm/_mapping/search:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)  
Created temporary directory /tmp/tmp133676761  
Downloading [https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-5.4.2.zip](https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-5.4.2.zip)  
Unzip archive /tmp/tmp133676761  
Importing Kibana from /tmp/tmp133676761/beats-dashboards-5.4.2/filebeat  
Importing Kibana from /tmp/tmp133676761/beats-dashboards-5.4.2/heartbeat  
Importing Kibana from /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat  
Import directory /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/66881e90-0006-11e7-bf7f-c9acc3d3e306.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/CPU-slash-Memory-per-container.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-Apache-HTTPD-server-status.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-Docker.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-MongoDB.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-Redis.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-cpu.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-filesystem-per-Host.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-filesystem.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-memory.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-network.json  
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-overview.json

---

<div class="post-metadata">

**Author:** ![abrejuin](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@abrejuin](https://discuss.elastic.co/u/abrejuin)\
**Post date:** [June 27, 2017, 2:21pm UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947/5 "2017-06-27T14:21:52Z")

</div>

at the end, I have several times this eror  
Error: Put [http://localhost:9200/.kibana-plm/dashboard/Metricbeat-system-overview:](http://localhost:9200/.kibana-plm/dashboard/Metricbeat-system-overview:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). Response body:

---

<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:** [June 27, 2017, 2:27pm UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947/6 "2017-06-27T14:27:34Z")

</div>

What version of Elasticsearch are you using?

---

<div class="post-metadata">

**Author:** ![abrejuin](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@abrejuin](https://discuss.elastic.co/u/abrejuin)\
**Post date:** [June 27, 2017, 2:34pm UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947/7 "2017-06-27T14:34:07Z")

</div>

My Elasticsearch version is 5.3.0

---

<div class="post-metadata">

**Author:** ![abrejuin](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@abrejuin](https://discuss.elastic.co/u/abrejuin)\
**Post date:** [June 28, 2017, 3:09pm UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947/8 "2017-06-28T15:09:16Z")

</div>

Hello

As I cannot import Metribeat sample, is it possible to take json file and try to create visualization with those json files ?

Thanks

---

<div class="post-metadata">

**Author:** ![qwerty2002](https://avatars.discourse-cdn.com/v4/letter/q/ed655f/32.png) [@qwerty2002](https://discuss.elastic.co/u/qwerty2002)\
**Post date:** [June 29, 2017, 3:32am UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947/9 "2017-06-29T03:32:44Z")

</div>

Thank you for everyone's answers.

---

<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:** [July 27, 2017, 3:32am UTC](https://discuss.elastic.co/t/import-dashboards-sample/90947/10 "2017-07-27T03:32:57Z")

</div>

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