# Use item of field to plot chart

**URL:** <https://discuss.elastic.co/t/use-item-of-field-to-plot-chart/214826>\
**Category:** Kibana\
**Created:** [January 13, 2020, 12:14pm UTC](https://discuss.elastic.co/t/use-item-of-field-to-plot-chart/214826 "2020-01-13T12:14:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tennis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tennis/32/47746_2.png) [@Tennis](https://discuss.elastic.co/u/Tennis)\
**Post date:** [January 13, 2020, 12:14pm UTC](https://discuss.elastic.co/t/use-item-of-field-to-plot-chart/214826/1 "2020-01-13T12:14:30Z")

</div>

My index data:

> Item: Book, count: 1, time: ...  
> Item: Car, count: 2, time: ...  
> Item: Car, count: 3, time: ...  
> Item: Book, count: 5, time: ...  
> Item: Cat, count: 2, time: ...  
> Item: Car, count: 7, time: ...

I want to plot a chart using time as x axis and **count** as y axis with only **Car** value of Item field.

Can kibana do this without change my index data structure or other better way to this.

---

<div class="post-metadata">

**Author:** ![Fabio-sama](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@Fabio-sama](https://discuss.elastic.co/u/Fabio-sama)\
**Post date:** [January 13, 2020, 2:25pm UTC](https://discuss.elastic.co/t/use-item-of-field-to-plot-chart/214826/2 "2020-01-13T14:25:16Z")

</div>

Hi there,

make a simple chart visualization (TSVB, Line, Area) and filter (in the Search Bar for Area and Line or in the Panel Option\>Filter in the TSVB) by `item:Car`.

Am I missing something?

---

<div class="post-metadata">

**Author:** ![Tennis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tennis/32/47746_2.png) [@Tennis](https://discuss.elastic.co/u/Tennis)\
**Post date:** [January 14, 2020, 9:49am UTC](https://discuss.elastic.co/t/use-item-of-field-to-plot-chart/214826/3 "2020-01-14T09:49:48Z")

</div>

Thanks a lot!

---

<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:** [February 11, 2020, 9:50am UTC](https://discuss.elastic.co/t/use-item-of-field-to-plot-chart/214826/4 "2020-02-11T09:50:04Z")

</div>

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