# Define localhost when loading sample Metricbeats dashboard

**URL:** <https://discuss.elastic.co/t/define-localhost-when-loading-sample-metricbeats-dashboard/110479>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [December 6, 2017, 9:32am UTC](https://discuss.elastic.co/t/define-localhost-when-loading-sample-metricbeats-dashboard/110479 "2017-12-06T09:32:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheNmaptomyHeartBeat](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@TheNmaptomyHeartBeat](https://discuss.elastic.co/u/TheNmaptomyHeartBeat)\
**Post date:** [December 6, 2017, 9:32am UTC](https://discuss.elastic.co/t/define-localhost-when-loading-sample-metricbeats-dashboard/110479/1 "2017-12-06T09:32:27Z")

</div>

Hi.

I'm trying to load the sample Metricbeats dashboard using the setup command from this [tutorial](https://www.elastic.co/guide/en/beats/packetbeat/current/load-kibana-dashboards.html) . However, I am using SSH to connect to the server.

whenever I try to set the setup command it tell me it fails to connect to the localhost. Is there a way to define the localhost to get it to point to my server instead?

I am using ELk stack version 6.

Thanks.

---

<div class="post-metadata">

**Author:** ![TheNmaptomyHeartBeat](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@TheNmaptomyHeartBeat](https://discuss.elastic.co/u/TheNmaptomyHeartBeat)\
**Post date:** [December 6, 2017, 10:16am UTC](https://discuss.elastic.co/t/define-localhost-when-loading-sample-metricbeats-dashboard/110479/2 "2017-12-06T10:16:26Z")

</div>

Solved.

turns out it was indeed done in the metricbeat.yml file but I had a few syntax errors which is why it didn't pick up on it.

---

<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:** [January 3, 2018, 10:16am UTC](https://discuss.elastic.co/t/define-localhost-when-loading-sample-metricbeats-dashboard/110479/3 "2018-01-03T10:16:31Z")

</div>

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