# Beat meta info how to show ip?

**URL:** <https://discuss.elastic.co/t/beat-meta-info-how-to-show-ip/42802>\
**Category:** Beats\
**Created:** [February 26, 2016, 3:18am UTC](https://discuss.elastic.co/t/beat-meta-info-how-to-show-ip/42802 "2016-02-26T03:18:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![szcountryboy](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@szcountryboy](https://discuss.elastic.co/u/szcountryboy)\
**Post date:** [February 26, 2016, 3:18am UTC](https://discuss.elastic.co/t/beat-meta-info-how-to-show-ip/42802/1 "2016-02-26T03:18:25Z")

</div>

Elastic-2.2 version

Every event sent to Logstash contains additional metadata for indexing and filtering:  
{  
...  
"@metadata": {  
"beat": "",  
"type": ""  
}

The beat-meta info :

"@timestamp" =\> "2016-02-25T01:29:40.264Z",  
"beat" =\> {  
"hostname" =\> "WQ-20151127AMRP",  
"name" =\> "WQ-20151127AMRP"  
},

hostname how to show ip?

Thanks

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 26, 2016, 6:42am UTC](https://discuss.elastic.co/t/beat-meta-info-how-to-show-ip/42802/2 "2016-02-26T06:42:39Z")

</div>

That's currently not possible. Please check the existing issues at [https://github.com/elastic/beats/issues](https://github.com/elastic/beats/issues) and create a new one if necessary.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [February 26, 2016, 7:04am UTC](https://discuss.elastic.co/t/beat-meta-info-how-to-show-ip/42802/3 "2016-02-26T07:04:38Z")

</div>

There was a request for this in Logstash. [https://github.com/logstash-plugins/logstash-input-lumberjack/pull/3](https://github.com/logstash-plugins/logstash-input-lumberjack/pull/3)

I think logstash-input-beats would be the best place for this metadata to be added to the event.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 26, 2016, 7:08am UTC](https://discuss.elastic.co/t/beat-meta-info-how-to-show-ip/42802/4 "2016-02-26T07:08:44Z")

</div>

Yes, I agree. The beats input is a better place.

---

<div class="post-metadata">

**Author:** ![szcountryboy](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@szcountryboy](https://discuss.elastic.co/u/szcountryboy)\
**Post date:** [February 29, 2016, 5:48am UTC](https://discuss.elastic.co/t/beat-meta-info-how-to-show-ip/42802/5 "2016-02-29T05:48:17Z")

</div>

Thanks everybody.

I used this method

Added ip in tags set.

**config**.yml  
tags: ["topbeat" **, "192.168.51.105"**]

search value 192.168\*

---

<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 5, 2017, 9:55pm UTC](https://discuss.elastic.co/t/beat-meta-info-how-to-show-ip/42802/6 "2017-07-05T21:55:17Z")

</div>


