# Get IP and MAC of host

**URL:** <https://discuss.elastic.co/t/get-ip-and-mac-of-host/289457>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [November 17, 2021, 1:20pm UTC](https://discuss.elastic.co/t/get-ip-and-mac-of-host/289457 "2021-11-17T13:20:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Markus\_Lindner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markus_lindner/32/97216_2.png) [@Markus\_Lindner](https://discuss.elastic.co/u/Markus_Lindner)\
**Post date:** [November 17, 2021, 1:20pm UTC](https://discuss.elastic.co/t/get-ip-and-mac-of-host/289457/1 "2021-11-17T13:20:32Z")

</div>

Hey guys,

I want to monitor the hosts in my network and track the ip's and mac's.

I use a metricbeat with "add\_host\_metadata" and "add\_cloud\_metadata" processors. Now i can see all IP's and Mac's of the host, but they are not in the format: IPV4, IPV6, Mac

instead I get a list of ipv4, ipv6, and macs. So I dont know which ip belongs to which mac, if the host have more network interfaces as one. Someone know a solution, where the metric beat send me the info in the format i want?

Thanks and greetings,

Markus

---

<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:** [December 15, 2021, 1:21pm UTC](https://discuss.elastic.co/t/get-ip-and-mac-of-host/289457/2 "2021-12-15T13:21:04Z")

</div>

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