# Create one graphs for each unique values of a text type field

**URL:** <https://discuss.elastic.co/t/create-one-graphs-for-each-unique-values-of-a-text-type-field/97955>\
**Category:** Kibana\
**Created:** [August 22, 2017, 6:49pm UTC](https://discuss.elastic.co/t/create-one-graphs-for-each-unique-values-of-a-text-type-field/97955 "2017-08-22T18:49:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pritom\_Ahmed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pritom_ahmed/32/20783_2.png) [@Pritom\_Ahmed](https://discuss.elastic.co/u/Pritom_Ahmed)\
**Post date:** [August 22, 2017, 6:49pm UTC](https://discuss.elastic.co/t/create-one-graphs-for-each-unique-values-of-a-text-type-field/97955/1 "2017-08-22T18:49:10Z")

</div>

In my index, There are one number field and one date field which can be used to create a line graph with time along the X-axis and average of the number field on the Y-axis.

I also have a text type field which has multiple distinct values. I want to have one line graph for each of the distinct values.

For example, if the distinct values are "frontend", "backend" and "database". I want one graph for "frontend", one for "backend" and one for "database".

How can I achieve this in Kibana ?

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [August 23, 2017, 12:24am UTC](https://discuss.elastic.co/t/create-one-graphs-for-each-unique-values-of-a-text-type-field/97955/2 "2017-08-23T00:24:27Z")

</div>

You can split the graph with a terms aggregation.

![16](https://us1.discourse-cdn.com/elastic/original/3X/b/4/b481d18966585c85cac02ca5fee5c281a6e283c7.png)

---

<div class="post-metadata">

**Author:** ![Pritom\_Ahmed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pritom_ahmed/32/20783_2.png) [@Pritom\_Ahmed](https://discuss.elastic.co/u/Pritom_Ahmed)\
**Post date:** [August 25, 2017, 5:27pm UTC](https://discuss.elastic.co/t/create-one-graphs-for-each-unique-values-of-a-text-type-field/97955/3 "2017-08-25T17:27:24Z")

</div>

Thanks.

---

<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:** [September 22, 2017, 5:27pm UTC](https://discuss.elastic.co/t/create-one-graphs-for-each-unique-values-of-a-text-type-field/97955/4 "2017-09-22T17:27:27Z")

</div>

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