# Split single field using dynamic template

**URL:** <https://discuss.elastic.co/t/split-single-field-using-dynamic-template/169865>\
**Category:** Elasticsearch\
**Created:** [February 25, 2019, 3:35pm UTC](https://discuss.elastic.co/t/split-single-field-using-dynamic-template/169865 "2019-02-25T15:35:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabio-sama](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@Fabio-sama](https://discuss.elastic.co/u/Fabio-sama)\
**Post date:** [February 25, 2019, 3:35pm UTC](https://discuss.elastic.co/t/split-single-field-using-dynamic-template/169865/1 "2019-02-25T15:35:01Z")

</div>

Hi there!

I'm having a problem with some data I'm importing from dynatrace into elasticsearch.

To make some dashboards I'd like to have certain data in separate fields, whereas dynatrace sends them all compacted in a single field.  
To make an example I have a field 'general' structured as follows:  
"general: number value1 value2 value3"  
What I'd like to do is to apply a template so as to have those values splitted into several fields like:

field1: value1  
field2: value2  
field3: value3

Basically, it is the opposite of what is shown in the documentation ([https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic-templates.html#path-match-unmatch](https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic-templates.html#path-match-unmatch)) where it creates a field 'full-name' from several separated fields.

Is there a way to do that?

Thank you in advance!

---

<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:** [March 25, 2019, 3:35pm UTC](https://discuss.elastic.co/t/split-single-field-using-dynamic-template/169865/2 "2019-03-25T15:35:04Z")

</div>

Closed on March 25, 2019, 3:35pm UTC

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