# The string fields are not aggregatable in kibana 6.4

**URL:** <https://discuss.elastic.co/t/the-string-fields-are-not-aggregatable-in-kibana-6-4/150867>\
**Category:** Kibana\
**Created:** [October 3, 2018, 11:04am UTC](https://discuss.elastic.co/t/the-string-fields-are-not-aggregatable-in-kibana-6-4/150867 "2018-10-03T11:04:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arun1](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@arun1](https://discuss.elastic.co/u/arun1)\
**Post date:** [October 3, 2018, 11:04am UTC](https://discuss.elastic.co/t/the-string-fields-are-not-aggregatable-in-kibana-6-4/150867/1 "2018-10-03T11:04:32Z")

</div>

The string/text fields in my index are shown as not aggregateble in kibana. Only the .keyword fields are shown as aggregatable. I would like to perform aggregation on the raw fields(not\_analyzed fields) as well. Please help!

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 4, 2018, 10:37am UTC](https://discuss.elastic.co/t/the-string-fields-are-not-aggregatable-in-kibana-6-4/150867/2 "2018-10-04T10:37:21Z")

</div>

What kind of aggregation are you trying to do on those fields? A term aggregation should be fine, just like in this ES example:  
[https://www.elastic.co/guide/en/elasticsearch/guide/current/aggregations-and-analysis.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/aggregations-and-analysis.html)

---

<div class="post-metadata">

**Author:** ![arun1](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@arun1](https://discuss.elastic.co/u/arun1)\
**Post date:** [October 5, 2018, 8:38am UTC](https://discuss.elastic.co/t/the-string-fields-are-not-aggregatable-in-kibana-6-4/150867/3 "2018-10-05T08:38:22Z")

</div>

Actually I have created a table visualization for pages and corresponding error count. The idea is when I click on a particular page name, it should take me to the raw data with that page name applied. However, since the page names have forward slashes, they are getting tokenized and the search yields all results which have either of these tokens as you can see in the screenshots. Can you please help me achieve a complete match for the page names(where the slashes would be ignored). I am new to the ELK stack so any help is greatly appreciated!

![1](https://us1.discourse-cdn.com/elastic/original/3X/3/f/3f4833fea8a939a0d7adef058540b0e95e589535.jpeg)

 ![2](https://us1.discourse-cdn.com/elastic/original/3X/2/5/2595fe0bf883563c8836ba43b22afdb0e0aa5016.jpeg)

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 5, 2018, 2:39pm UTC](https://discuss.elastic.co/t/the-string-fields-are-not-aggregatable-in-kibana-6-4/150867/4 "2018-10-05T14:39:53Z")

</div>

You can try escaping the forward slashes in your query.

---

<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:** [November 2, 2018, 2:39pm UTC](https://discuss.elastic.co/t/the-string-fields-are-not-aggregatable-in-kibana-6-4/150867/5 "2018-11-02T14:39:57Z")

</div>

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