# Best Way to create nested field

**URL:** <https://discuss.elastic.co/t/best-way-to-create-nested-field/26757>\
**Category:** Logstash\
**Created:** [August 3, 2015, 10:42pm UTC](https://discuss.elastic.co/t/best-way-to-create-nested-field/26757 "2015-08-03T22:42:05Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![juerkan](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@juerkan](https://discuss.elastic.co/u/juerkan)\
**Post date:** [November 4, 2015, 7:22pm UTC](https://discuss.elastic.co/t/best-way-to-create-nested-field/26757/10 "2015-11-04T19:22:11Z")

</div>

solved in:

> [@Field name cannot contain '.'](https://discuss.elastic.co/t/field-name-cannot-contain/33251/13):
>
> Hi, Thank you very much, it works. Just a little issue with more then one dot in a field -\> the ruby code replace just the first dot in a fieldname. But that is not really a problem, because i insert the ruby filter twice. many thanks juergen

---

_[View the full topic](https://discuss.elastic.co/t/best-way-to-create-nested-field/26757)._
