# IMPORT .mib to Logstash snmptrap input

**URL:** https://discuss.elastic.co/t/import-mib-to-logstash-snmptrap-input/226371
**Category:** Logstash
**Created:** [April 3, 2020, 9:23am UTC](https://discuss.elastic.co/t/import-mib-to-logstash-snmptrap-input/226371 "2020-04-03T09:23:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Diego\_Gutierrez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diego_gutierrez/32/43684_2.png) [@Diego\_Gutierrez](https://discuss.elastic.co/u/Diego_Gutierrez)
#### Post date: [April 3, 2020, 9:23am UTC](https://discuss.elastic.co/t/import-mib-to-logstash-snmptrap-input/226371/1 "2020-04-03T09:23:57Z")

</div>

Hi,

I am having a lot of problem to import .mib files to logstash and transform it to .yaml file 'cause is the file that logstash can read.

I've use the import.rb with ruby but I receive errors or directly I dont receive nothing but logstash dont translate the SNMP OIDs.

I am using logstash 7 and snmp-1.3.1.

Someone knows how I can transform mibs files to yaml to run on logstash?'

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: [May 1, 2020, 9:24am UTC](https://discuss.elastic.co/t/import-mib-to-logstash-snmptrap-input/226371/2 "2020-05-01T09:24:23Z")

</div>

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