# 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:** 3

<div class="post-metadata">

**Author:** ![motodaddo](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@motodaddo](https://discuss.elastic.co/u/motodaddo)\
**Post date:** [August 4, 2015, 1:58pm UTC](https://discuss.elastic.co/t/best-way-to-create-nested-field/26757/3 "2015-08-04T13:58:06Z")

</div>

Is it possible to do the same thing with the all body message?  
(without to to it for all single fields)  
Example:

"something1":"11111",  
"something2":"22222",  
"something3":"33333"

transform it in:

event{  
payload{  
"something1":"11111",  
"something2":"22222",  
"something3":"33333"  
}  
}

---

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