# Creating graph based on keyword

**URL:** <https://discuss.elastic.co/t/creating-graph-based-on-keyword/205776>\
**Category:** Logstash\
**Created:** [October 30, 2019, 2:30am UTC](https://discuss.elastic.co/t/creating-graph-based-on-keyword/205776 "2019-10-30T02:30:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbrown007](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@mbrown007](https://discuss.elastic.co/u/mbrown007)\
**Post date:** [October 30, 2019, 2:30am UTC](https://discuss.elastic.co/t/creating-graph-based-on-keyword/205776/1 "2019-10-30T02:30:33Z")

</div>

I want to create a bar graph or even a pie graph based on a text field. This text field does say in ES that it is Aggregatable. There is the field name and then field name.keyword. (Home Type & Home Type.keyword)

I have set the Metric Y-Axis to count. Under buckets I have created an X-Axis for filter and the filter is set to Home Type: "TH"

I get no results. But when I go to Discover and create a filter called Home Type: "TH" it comes back with results.

What am I missing?

---

<div class="post-metadata">

**Author:** ![mbrown007](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@mbrown007](https://discuss.elastic.co/u/mbrown007)\
**Post date:** [October 30, 2019, 2:52am UTC](https://discuss.elastic.co/t/creating-graph-based-on-keyword/205776/2 "2019-10-30T02:52:45Z")

</div>

> [@mbrown007](#):
>
> I want to create a bar graph or even a pie graph based on a text field. This text field does say in ES that it is Aggregatable. There is the field name and then field name.keyword. (Home Type & Home Type.keyword)
> 
> I have set the Metric Y-Axis to count. Under buckets I have created an X-Axis for filter and the filter is set to Home Type: "TH"
> 
> I get no results. But when I go to Discover and create a filter called Home Type: "TH" it comes back with results.
> 
> What am I missing?

Not sure why this is under logstash i thought I posted this under kibana. I will post there instead.

---

<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 27, 2019, 3:05am UTC](https://discuss.elastic.co/t/creating-graph-based-on-keyword/205776/3 "2019-11-27T03:05:18Z")

</div>

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