# Clarification on Text Analysis and feeding to X-Pack

**URL:** <https://discuss.elastic.co/t/clarification-on-text-analysis-and-feeding-to-x-pack/139445>\
**Category:** Elasticsearch\
**Created:** [July 11, 2018, 2:40am UTC](https://discuss.elastic.co/t/clarification-on-text-analysis-and-feeding-to-x-pack/139445 "2018-07-11T02:40:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsk](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vsk](https://discuss.elastic.co/u/vsk)\
**Post date:** [July 11, 2018, 2:40am UTC](https://discuss.elastic.co/t/clarification-on-text-analysis-and-feeding-to-x-pack/139445/1 "2018-07-11T02:40:09Z")

</div>

Hi,  
We intend to import data from our existing system and need to do the below for the integration with X-Pack.

e.g. Sample Text=Value Result

The above text need to be split into 3 categories.  
Cat-1 : Sample Text  
Cat-2: Value  
Cat-3: Result

I suppose the above splitting into three categories should be done with the pattern analyser..  
Eventually, we we need to do some more analytics using X-packs like aggregation of the derived/generated categories.

Appreciate any response on this  
Thanks

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 11, 2018, 3:19am UTC](https://discuss.elastic.co/t/clarification-on-text-analysis-and-feeding-to-x-pack/139445/2 "2018-07-11T03:19:46Z")

</div>

Not sure how this relates to xpack.

Anyway, you want to do that at index time I guess. May be use an ingest pipeline with a grok processor to split your text in 3 categories?

---

<div class="post-metadata">

**Author:** ![vsk](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vsk](https://discuss.elastic.co/u/vsk)\
**Post date:** [July 11, 2018, 2:00pm UTC](https://discuss.elastic.co/t/clarification-on-text-analysis-and-feeding-to-x-pack/139445/3 "2018-07-11T14:00:59Z")

</div>

thanks for the reply. i'm very new to elastic.

---

<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 8, 2018, 2:01pm UTC](https://discuss.elastic.co/t/clarification-on-text-analysis-and-feeding-to-x-pack/139445/4 "2018-08-08T14:01:17Z")

</div>

Closed on August 8, 2018, 2:01pm UTC

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