# How to add real host name to heartbeat for metricbeat integration of website url\\ip

**URL:** <https://discuss.elastic.co/t/how-to-add-real-host-name-to-heartbeat-for-metricbeat-integration-of-website-url-ip/226288>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [April 2, 2020, 9:11pm UTC](https://discuss.elastic.co/t/how-to-add-real-host-name-to-heartbeat-for-metricbeat-integration-of-website-url-ip/226288 "2020-04-02T21:11:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shayvilk](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@shayvilk](https://discuss.elastic.co/u/shayvilk)\
**Post date:** [April 2, 2020, 9:11pm UTC](https://discuss.elastic.co/t/how-to-add-real-host-name-to-heartbeat-for-metricbeat-integration-of-website-url-ip/226288/1 "2020-04-02T21:11:57Z")

</div>

hi there...

I'm trying to create a monitoring integration for our web sites.  
I'm using the heartbeat (standalone docker) for uptime with the external\public URL and on the sites hosting servers, I've add filebeats and Metricbeats for Logs and Metrics.

the issue is that the metricbeats is based on hostname and the heartbeat is based on IP.  
as I'm using the external URLs and get back the public IP, how can I correlate them to use the uptime integrations for viewing the logs and metrics directly?

Thanks,  
Shay

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [April 14, 2020, 1:45am UTC](https://discuss.elastic.co/t/how-to-add-real-host-name-to-heartbeat-for-metricbeat-integration-of-website-url-ip/226288/2 "2020-04-14T01:45:07Z")

</div>

Apologies for the delayed reply. Unfortunately we don't have an external mechanism to correlate the two datapoints as of yet, but it's something we're looking at. I've opened [https://github.com/elastic/uptime/issues/170](https://github.com/elastic/uptime/issues/170) to track the discussion. If you can chime in on the issue and tell us more about your setup that would help us out!

---

<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:** [May 12, 2020, 1:45am UTC](https://discuss.elastic.co/t/how-to-add-real-host-name-to-heartbeat-for-metricbeat-integration-of-website-url-ip/226288/3 "2020-05-12T01:45:13Z")

</div>

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