# Graphing non numerical values?

**URL:** <https://discuss.elastic.co/t/graphing-non-numerical-values/134877>\
**Category:** Kibana\
**Created:** [June 7, 2018, 2:48am UTC](https://discuss.elastic.co/t/graphing-non-numerical-values/134877 "2018-06-07T02:48:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [June 7, 2018, 2:48am UTC](https://discuss.elastic.co/t/graphing-non-numerical-values/134877/1 "2018-06-07T02:48:23Z")

</div>

Hi,

I want to create a graph using non numerical values but I'm not sure this is possible?

example:  
Field name: Status  
values: online / offline  
field type: keyword  
Data polled every 5 minutes

On the X axis I want a date histogram and on the Y axis I want to show the status which will be either online or offline.

I've made graphs similar to what I want before using metric max value but in those cases the values were always numerical but I cannot find a way to do the same with a keywords.

---

<div class="post-metadata">

**Author:** ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)\
**Post date:** [June 7, 2018, 1:33pm UTC](https://discuss.elastic.co/t/graphing-non-numerical-values/134877/2 "2018-06-07T13:33:23Z")

</div>

Hi @Sjaak01,

I don't think it's possible to use non numerical values on the y-axis. However, you might be able to achieve what you want by splitting the series on the x-axis, something like this:

 ![20%20AM](https://us1.discourse-cdn.com/elastic/original/3X/b/3/b31389abcb92a83491c4398759522044aec94eff.png)

---

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [June 8, 2018, 4:03am UTC](https://discuss.elastic.co/t/graphing-non-numerical-values/134877/3 "2018-06-08T04:03:37Z")

</div>

Hi,

Thanks but unfortunately that doesn't work. Because the metric is count you'll end up with two strange looking lines. Instead I want one line that is either online or offline.

Probably easiest if I add some fields in logstash when indexing.

---

<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 6, 2018, 4:03am UTC](https://discuss.elastic.co/t/graphing-non-numerical-values/134877/4 "2018-07-06T04:03:40Z")

</div>

Closed on July 6, 2018, 4:03am UTC

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