Split text field in array with multiple value

Hello ! I am new to kibana and Elasticsearch.

My need :

my document :
{
"text": "The 2 QUICK Brown-Foxes jumped over the lazy dog's bone."
}

and i want to create scripted field and i want this result
{
"splitText" : {
"The",
"2",
"quick",
"brown",
...
},
}

it's possible with scripted field or when i index my document ?

Thanks for your next answers.

Another option than script field is using ingest pipeline. A little more simple.

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