# Does Snmptrap input plugin of logstash support IPV6?

**URL:** <https://discuss.elastic.co/t/does-snmptrap-input-plugin-of-logstash-support-ipv6/243357>\
**Category:** Logstash\
**Created:** [July 31, 2020, 1:13pm UTC](https://discuss.elastic.co/t/does-snmptrap-input-plugin-of-logstash-support-ipv6/243357 "2020-07-31T13:13:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![viveknagar](https://avatars.discourse-cdn.com/v4/letter/v/cdc98d/32.png) [@viveknagar](https://discuss.elastic.co/u/viveknagar)\
**Post date:** [July 31, 2020, 1:13pm UTC](https://discuss.elastic.co/t/does-snmptrap-input-plugin-of-logstash-support-ipv6/243357/1 "2020-07-31T13:13:44Z")

</div>

Hello Everyone,  
I am using Snmptrap plugin of logstash to receive snmp traps.  
My configurations of snmptrap are below

```auto
                type => snmptrap
                host => '[XXX.XXX.XXX.XXX.XXX.XXX.XXX.XXX]'
                port => 25826
                codec => "json"
                yamlmibdir => "/usr/share/logstash/mib/"
            }

```

The error I am getting is :

`SNMP Trap listener is died {:exception=>#<SocketError>: bind: unsupported address [XXX:XXX:XXX:XXX:XXX:XXX:XXX:XXX]} for protocol family INET >`

So I want to know does logstash Snmptrap plugin support IPV6 or not or Is it something different issue  
Thanks

---

<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:** [August 28, 2020, 1:13pm UTC](https://discuss.elastic.co/t/does-snmptrap-input-plugin-of-logstash-support-ipv6/243357/2 "2020-08-28T13:13:47Z")

</div>

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