# Split the field and add the fields dynamically in ingest pipeline

**URL:** <https://discuss.elastic.co/t/split-the-field-and-add-the-fields-dynamically-in-ingest-pipeline/279416>\
**Category:** Elasticsearch\
**Created:** [July 22, 2021, 4:57pm UTC](https://discuss.elastic.co/t/split-the-field-and-add-the-fields-dynamically-in-ingest-pipeline/279416 "2021-07-22T16:57:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anjilinga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anjilinga/32/86010_2.png) [@anjilinga](https://discuss.elastic.co/u/anjilinga)\
**Post date:** [July 22, 2021, 4:57pm UTC](https://discuss.elastic.co/t/split-the-field-and-add-the-fields-dynamically-in-ingest-pipeline/279416/1 "2021-07-22T16:57:12Z")

</div>

Hi Team,  
We have scenario like audio files field with the values as path1,path2,path3 ( the number of paths are dynamic),  
In ingest pipeline need to split this field and create audio1 =path1, audio2=path2, audio3=path3,  
by using split processor can be able to split, but using foreach not able to create dynamic field names

Can you please suggest.

---

<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:** [August 19, 2021, 4:57pm UTC](https://discuss.elastic.co/t/split-the-field-and-add-the-fields-dynamically-in-ingest-pipeline/279416/2 "2021-08-19T16:57:18Z")

</div>

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