# How to add source ip (device ip) of host to log

**URL:** <https://discuss.elastic.co/t/how-to-add-source-ip-device-ip-of-host-to-log/235603>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [June 3, 2020, 4:26pm UTC](https://discuss.elastic.co/t/how-to-add-source-ip-device-ip-of-host-to-log/235603 "2020-06-03T16:26:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jasonespo](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Jasonespo](https://discuss.elastic.co/u/Jasonespo)\
**Post date:** [June 3, 2020, 4:26pm UTC](https://discuss.elastic.co/t/how-to-add-source-ip-device-ip-of-host-to-log/235603/1 "2020-06-03T16:26:00Z")

</div>

Hi,

We have winlogbeat installed on our host machines and are trying to get the IP address of them.

On a previous version of winlogbeat 6.x? We were getting a field value [beat][ip] which we were then able to use later processing to do a geo ip lookups and get the location.

In version 7.0+ we no longer receive this data? How do we replicate this to add the IP address of the host to the json output?

Thanks in advance

---

<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:** [July 1, 2020, 4:26pm UTC](https://discuss.elastic.co/t/how-to-add-source-ip-device-ip-of-host-to-log/235603/2 "2020-07-01T16:26:02Z")

</div>

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