# How to view SNMP Traps with Logstash /Filebeat configuration

**URL:** <https://discuss.elastic.co/t/how-to-view-snmp-traps-with-logstash-filebeat-configuration/161919>\
**Category:** Logstash\
**Created:** [December 22, 2018, 2:03pm UTC](https://discuss.elastic.co/t/how-to-view-snmp-traps-with-logstash-filebeat-configuration/161919 "2018-12-22T14:03:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeyaNachiaban](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@JeyaNachiaban](https://discuss.elastic.co/u/JeyaNachiaban)\
**Post date:** [December 22, 2018, 2:03pm UTC](https://discuss.elastic.co/t/how-to-view-snmp-traps-with-logstash-filebeat-configuration/161919/1 "2018-12-22T14:03:19Z")

</div>

I am new to ELK. I want to get the snmp traps through filebeat/logstash and show it in Kibana. Can you provide the documentation/procedure to do that?

Configuration I tried in logstash.

input {  
snmptrap {  
type =\> "snmptrap"  
community =\> "public"  
port =\>1062  
yamlmibdir =\> "/opt/elk/logstash/vendor/bundle/jruby/2.3.0/gems/snmp-1.3.1/data/ruby/snmp/mibs"  
}  
}  
output {  
elasticsearch {  
hosts =\> ["[http://localhost:9200](http://localhost:9200)"]  
index =\> "snmp-sample"  
#user =\> "elastic"  
#password =\> "changeme"  
}  
}  
}

Its not working.

---

<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:** [January 19, 2019, 2:03pm UTC](https://discuss.elastic.co/t/how-to-view-snmp-traps-with-logstash-filebeat-configuration/161919/2 "2019-01-19T14:03:27Z")

</div>

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