# Snmptrap input adding dots to field names

**URL:** <https://discuss.elastic.co/t/snmptrap-input-adding-dots-to-field-names/43277>\
**Category:** Logstash\
**Created:** [March 2, 2016, 4:59pm UTC](https://discuss.elastic.co/t/snmptrap-input-adding-dots-to-field-names/43277 "2016-03-02T16:59:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arizonawayfarer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arizonawayfarer/32/44846_2.png) [@arizonawayfarer](https://discuss.elastic.co/u/arizonawayfarer)\
**Post date:** [March 2, 2016, 4:59pm UTC](https://discuss.elastic.co/t/snmptrap-input-adding-dots-to-field-names/43277/1 "2016-03-02T16:59:08Z")

</div>

The snmptrap input plugin for logstash is adding dots to field names. This is preventing entries from being indexed in elastic.. I understand I can use the de\_dot filter, but since that's expensive - I was hoping there might be a way to just name the fields correctly at the point of collection?

`MapperParsingException[Field name [SNMPv2-MIB::snmpTrapOID.0] cannot contain '.']`

Wanted to add that I'm using Windows.

---

<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 6, 2017, 5:08am UTC](https://discuss.elastic.co/t/snmptrap-input-adding-dots-to-field-names/43277/2 "2017-07-06T05:08:42Z")

</div>


