# Host name incorrect for logstash monitoring in Kibana

**URL:** <https://discuss.elastic.co/t/host-name-incorrect-for-logstash-monitoring-in-kibana/194957>\
**Category:** Logstash\
**Created:** [August 13, 2019, 5:56am UTC](https://discuss.elastic.co/t/host-name-incorrect-for-logstash-monitoring-in-kibana/194957 "2019-08-13T05:56:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gokul\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gokul_raj/32/48717_2.png) [@Gokul\_Raj](https://discuss.elastic.co/u/Gokul_Raj)\
**Post date:** [August 13, 2019, 5:56am UTC](https://discuss.elastic.co/t/host-name-incorrect-for-logstash-monitoring-in-kibana/194957/1 "2019-08-13T05:56:39Z")

</div>

I was able to configure logstash 6.7.1 to enable monitoring and it's successfully showing up in Kibana.  
However the host name is incorrect, it defaults to 127.0.0.1:9600 and 127.0.0.1:9601 for all 3 nodes in my cluster. Am I missing something?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/c/6c8837365a5b2a8f43b5acf0f66208bec3be5add.png)

---

<div class="post-metadata">

**Author:** ![Gokul\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gokul_raj/32/48717_2.png) [@Gokul\_Raj](https://discuss.elastic.co/u/Gokul_Raj)\
**Post date:** [August 14, 2019, 9:46am UTC](https://discuss.elastic.co/t/host-name-incorrect-for-logstash-monitoring-in-kibana/194957/2 "2019-08-14T09:46:34Z")

</div>

This is the defaul behavior, `127.0.0.1` is the default value for the setting `http.host` in the `logstash.yml` file.

The `http.host` variable is the metrics REST endpoint, used for get the monitoring metrics, if you do not specify an ip address, it will bind to the localhost ip, which is `127.0.0.1` .

If you want it to show another ip address present in the server, you will need to set this variable to that ip address.

Got the above solution from [leandrojmp]

---

<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 11, 2019, 9:46am UTC](https://discuss.elastic.co/t/host-name-incorrect-for-logstash-monitoring-in-kibana/194957/3 "2019-09-11T09:46:36Z")

</div>

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