# Get all IP's and mac's of hosts in network

**URL:** <https://discuss.elastic.co/t/get-all-ips-and-macs-of-hosts-in-network/289585>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [November 18, 2021, 11:18am UTC](https://discuss.elastic.co/t/get-all-ips-and-macs-of-hosts-in-network/289585 "2021-11-18T11:18:54Z")\
**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 18, 2021, 11:18am UTC](https://discuss.elastic.co/t/get-all-ips-and-macs-of-hosts-in-network/289585/1 "2021-11-18T11:18:54Z")

</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 all 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? (or a similar work around)

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 16, 2021, 11:19am UTC](https://discuss.elastic.co/t/get-all-ips-and-macs-of-hosts-in-network/289585/2 "2021-12-16T11:19:01Z")

</div>

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