# Field name cannot contain '.'

**URL:** <https://discuss.elastic.co/t/field-name-cannot-contain/33251>\
**Category:** Logstash\
**Created:** [October 29, 2015, 2:05pm UTC](https://discuss.elastic.co/t/field-name-cannot-contain/33251 "2015-10-29T14:05:04Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![bblank](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@bblank](https://discuss.elastic.co/u/bblank)\
**Post date:** [January 26, 2016, 10:24pm UTC](https://discuss.elastic.co/t/field-name-cannot-contain/33251/25 "2016-01-26T22:24:25Z")

</div>

This ruby solution works "most" of the time for us, but I just found some fields which have "[]" in the name and the "dots" are not being replaced. Any ruby coders out there willing to help? e.g. field name = ad.key[12]="some text value"

---

_[View the full topic](https://discuss.elastic.co/t/field-name-cannot-contain/33251)._
