# Host metadata in beats

**URL:** <https://discuss.elastic.co/t/host-metadata-in-beats/233104>\
**Category:** Beats\
**Created:** [May 18, 2020, 12:21pm UTC](https://discuss.elastic.co/t/host-metadata-in-beats/233104 "2020-05-18T12:21:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ParashB](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@ParashB](https://discuss.elastic.co/u/ParashB)\
**Post date:** [May 18, 2020, 12:21pm UTC](https://discuss.elastic.co/t/host-metadata-in-beats/233104/1 "2020-05-18T12:21:25Z")

</div>

How does the add\_host\_metadata fetch the host metadata fields. I am particularly concerned about the below fields in RHEL OS. I want to fetch the same fields using fluent-bit in my application.

```auto
{
   "host":{
      "architecture":"x86_64",
      "name":"example-host",
      "id":"",
      "os":{
         "family":"darwin",
         "build":"16G1212",
         "platform":"darwin",
         "version":"10.12.6",
         "kernel":"16.7.0",
         "name":"Mac OS X"
      },
      "ip": ["192.168.0.1", "10.0.0.1"],
      "mac": ["00:25:96:12:34:56", "72:00:06:ff:79:f1"]
   }
}

```

---

<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 15, 2020, 2:21pm UTC](https://discuss.elastic.co/t/host-metadata-in-beats/233104/2 "2020-06-15T14:21:34Z")

</div>

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