# Heartbeat: "Host" field

**URL:** <https://discuss.elastic.co/t/heartbeat-host-field/85910>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [May 16, 2017, 10:57am UTC](https://discuss.elastic.co/t/heartbeat-host-field/85910 "2017-05-16T10:57:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dosera](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@dosera](https://discuss.elastic.co/u/dosera)\
**Post date:** [May 16, 2017, 10:57am UTC](https://discuss.elastic.co/t/heartbeat-host-field/85910/1 "2017-05-16T10:57:04Z")

</div>

Apparently, `host` field is filled with the value of the host the beat is running on if the urls are NOT ips. Otherwise it is filled with the ip.

Example:

```auto
- name: first
  type: http
  urls:
    - https://123.45.6.7:443

- name: second
  type: http
  urls:
    - https://www.myurl.com:443

```

Result:

First:

```auto
...
"host": "heartbeat.machine"

```

Second:

```auto
...
"host": "www.myurl.com"

```

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [May 16, 2017, 11:19am UTC](https://discuss.elastic.co/t/heartbeat-host-field/85910/2 "2017-05-16T11:19:00Z")

</div>

What exactly is the question here?

Can you post the complete events?

In the development branch the event format has been changed. Can you try [with a nightly build](https://beats-nightlies.s3.amazonaws.com/index.html?prefix=heartbeat)?

---

<div class="post-metadata">

**Author:** ![dosera](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@dosera](https://discuss.elastic.co/u/dosera)\
**Post date:** [May 17, 2017, 7:40am UTC](https://discuss.elastic.co/t/heartbeat-host-field/85910/3 "2017-05-17T07:40:49Z")

</div>

Hello Steffen,

I tried with a nightly build and the behavior is gone 🙂  
Thanks a lot.

---

<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:** [June 14, 2017, 7:41am UTC](https://discuss.elastic.co/t/heartbeat-host-field/85910/4 "2017-06-14T07:41:13Z")

</div>

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