# How can I analyze and split an incoming column to keywords

**URL:** <https://discuss.elastic.co/t/how-can-i-analyze-and-split-an-incoming-column-to-keywords/135308>\
**Category:** Elasticsearch\
**Created:** [June 11, 2018, 8:26am UTC](https://discuss.elastic.co/t/how-can-i-analyze-and-split-an-incoming-column-to-keywords/135308 "2018-06-11T08:26:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hvarun](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@hvarun](https://discuss.elastic.co/u/hvarun)\
**Post date:** [June 11, 2018, 8:26am UTC](https://discuss.elastic.co/t/how-can-i-analyze-and-split-an-incoming-column-to-keywords/135308/1 "2018-06-11T08:26:58Z")

</div>

Hello,

i am trying to analyze an index which contains a field id and messageanalyze having text data.

when i try to get response from the below url, it returns tokens for the text parmeter and not the messageanalyze field specified. how can i get the response back for the field instead of the text as it isnt accepting the query without text parameter which is mandatory.

URL trying to get the message tokens:  
[http://localhost:9200/myindex/\_analyze?field=messageanalyze&analyzer=standard&text=](http://localhost:9200/myindex/_analyze?field=messageanalyze&analyzer=standard&text=)"this is a text"

response:

{"tokens":[{"token":"this","start\_offset":1,"end\_offset":5,"type":"","position":0},{"token":"is","start\_offset":6,"end\_offset":8,"type":"","position":1},{"token":"a","start\_offset":9,"end\_offset":10,"type":"","position":2},{"token":"text","start\_offset":11,"end\_offset":15,"type":"","position":3}]}

---

<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:** [July 9, 2018, 8:27am UTC](https://discuss.elastic.co/t/how-can-i-analyze-and-split-an-incoming-column-to-keywords/135308/2 "2018-07-09T08:27:09Z")

</div>

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