# Agent Address field of SNMPV1 Trap is coming as combination of hexadecimal and ASCII value

**URL:** https://discuss.elastic.co/t/agent-address-field-of-snmpv1-trap-is-coming-as-combination-of-hexadecimal-and-ascii-value/174322
**Category:** Logstash
**Created:** [March 28, 2019, 11:49am UTC](https://discuss.elastic.co/t/agent-address-field-of-snmpv1-trap-is-coming-as-combination-of-hexadecimal-and-ascii-value/174322 "2019-03-28T11:49:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nik\_1106](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik_1106/32/42971_2.png) [@Nik\_1106](https://discuss.elastic.co/u/Nik_1106)
#### Post date: [March 28, 2019, 11:49am UTC](https://discuss.elastic.co/t/agent-address-field-of-snmpv1-trap-is-coming-as-combination-of-hexadecimal-and-ascii-value/174322/1 "2019-03-28T11:49:25Z")

</div>

I am trying to extract fields of SNMPv1 trap from logstash output. Here is my pipeline:

 ![logstash-snmp-trap](https://us1.discourse-cdn.com/elastic/original/3X/f/5/f56af215a515e51da44255f3139f0fcd1a4dc08d.png)

And This is what I see in output:

 ![logstash-output](https://us1.discourse-cdn.com/elastic/original/3X/4/3/43f48b451bd291c851fb14145a8d6e0aa92f424a.png)

Here, agent address is coming as combination of hexadecimal and ASCII value.

**"agent\_address" =\> ""\xFFA\xFFA""**

Has anyone seen this before? I need agent address in IP Address format( like 1.1.1.1) .

Any help would be appreciated.

---

<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: [April 25, 2019, 11:50am UTC](https://discuss.elastic.co/t/agent-address-field-of-snmpv1-trap-is-coming-as-combination-of-hexadecimal-and-ascii-value/174322/2 "2019-04-25T11:50:10Z")

</div>

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