# Set up the Kibana dashboards for Metricbeat

**URL:** <https://discuss.elastic.co/t/set-up-the-kibana-dashboards-for-metricbeat/124950>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [March 21, 2018, 9:48am UTC](https://discuss.elastic.co/t/set-up-the-kibana-dashboards-for-metricbeat/124950 "2018-03-21T09:48:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bit\_Addict](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bit_addict/32/106708_2.png) [@Bit\_Addict](https://discuss.elastic.co/u/Bit_Addict)\
**Post date:** [March 21, 2018, 9:48am UTC](https://discuss.elastic.co/t/set-up-the-kibana-dashboards-for-metricbeat/124950/1 "2018-03-21T09:48:45Z")

</div>

Hi all...

I am very new to ELK and still learning, so please be forbearing with my probably stupid questions.

I tried to find my issue within the search here, did not find it, so I guess it might be a very small issue.

Here we go:

I installed Metricbeat which is running fine.

I wanted to set up the example Kibana dashboards for Metricbeat now, via the command:

_metricbeat setup --dashboards_

This results in this error and I do not know what is going wrong:

_Exiting: Error importing Kibana dashboards: fail to create the Kibana loader: Error creating Kibana client: fail to get the Kibana version:HTTP GET request to /api/status fails: fail to execute the HTTP GET request: Get [http://localhost:5601/api/status:](http://localhost:5601/api/status:) dial tcp 127.0.0.1:5601: getsockopt: connection refused. Response: ._

The metricbeat.yml is also cofigured to setup.dashboards.enabled: true in the Dashboards section.

---

<div class="post-metadata">

**Author:** ![adrisr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrisr/32/25423_2.png) [@adrisr](https://discuss.elastic.co/u/adrisr)\
**Post date:** [March 21, 2018, 10:20am UTC](https://discuss.elastic.co/t/set-up-the-kibana-dashboards-for-metricbeat/124950/2 "2018-03-21T10:20:45Z")

</div>

Metricbeat cannot connect to Kibana at localhost port 5601, which is the default.

Make sure metricbeat.yml is pointing to where your Kibana is running:

```auto
setup.kibana:
    host: "kibana_hostname:5601"

```

---

<div class="post-metadata">

**Author:** ![Bit\_Addict](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bit_addict/32/106708_2.png) [@Bit\_Addict](https://discuss.elastic.co/u/Bit_Addict)\
**Post date:** [March 21, 2018, 2:45pm UTC](https://discuss.elastic.co/t/set-up-the-kibana-dashboards-for-metricbeat/124950/3 "2018-03-21T14:45:45Z")

</div>

That worked... Thank you very much!

---

<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:** [April 18, 2018, 2:46pm UTC](https://discuss.elastic.co/t/set-up-the-kibana-dashboards-for-metricbeat/124950/4 "2018-04-18T14:46:22Z")

</div>

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