# How to move a complete fields tree to another level

**URL:** <https://discuss.elastic.co/t/how-to-move-a-complete-fields-tree-to-another-level/152050>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 11, 2018, 12:43pm UTC](https://discuss.elastic.co/t/how-to-move-a-complete-fields-tree-to-another-level/152050 "2018-10-11T12:43:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lu\_Do](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lu_do/32/2761_2.png) [@Lu\_Do](https://discuss.elastic.co/u/Lu_Do)\
**Post date:** [October 11, 2018, 12:43pm UTC](https://discuss.elastic.co/t/how-to-move-a-complete-fields-tree-to-another-level/152050/1 "2018-10-11T12:43:27Z")

</div>

Hello,

I want to move a whole subset of fields to another level,  
Example I want to move docker.container.label.org.myorg.\* to root level ?

Is there any way to do this without using :

> ```
> - rename:
> fields:
> - from: "docker.container.labels.org.myorg.logindex"
> to: "logindex"
> ignore_missing: true
> fail_on_error: false
> 
> ```

for every fields ?

Thanks

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [October 15, 2018, 8:35am UTC](https://discuss.elastic.co/t/how-to-move-a-complete-fields-tree-to-another-level/152050/2 "2018-10-15T08:35:15Z")

</div>

Hi @Lu_Do 🙂

I'm afraid that you'll need to specify the transformation for each field you want to convert, there's not something like a prefix based multi field conversor, sorry.

---

<div class="post-metadata">

**Author:** ![Lu\_Do](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lu_do/32/2761_2.png) [@Lu\_Do](https://discuss.elastic.co/u/Lu_Do)\
**Post date:** [October 21, 2018, 7:21pm UTC](https://discuss.elastic.co/t/how-to-move-a-complete-fields-tree-to-another-level/152050/3 "2018-10-21T19:21:52Z")

</div>

Thanks @Mario_Castro, create an feature request : [https://github.com/elastic/beats/issues/8669](https://github.com/elastic/beats/issues/8669)  
Hope it will be pick up 🙂

---

<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:** [November 18, 2018, 7:21pm UTC](https://discuss.elastic.co/t/how-to-move-a-complete-fields-tree-to-another-level/152050/4 "2018-11-18T19:21:53Z")

</div>

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