# Creating line charts using timelion

**URL:** <https://discuss.elastic.co/t/creating-line-charts-using-timelion/59348>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [August 30, 2016, 5:40pm UTC](https://discuss.elastic.co/t/creating-line-charts-using-timelion/59348 "2016-08-30T17:40:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sridevibaskaran](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@sridevibaskaran](https://discuss.elastic.co/u/sridevibaskaran)\
**Post date:** [August 30, 2016, 5:40pm UTC](https://discuss.elastic.co/t/creating-line-charts-using-timelion/59348/1 "2016-08-30T17:40:30Z")

</div>

I have the following json fields in my elastic index CountDetails as shown below:

```
message:
{"File":"File1","Hour":"22","Count":"493"}
{"File":"File1","Hour":"23","Count":"32"}
{"File":"File3","Hour":"1","Count":"45"}

```

I am trying to plot a line chart with “Hour” in x axis and “Count” in y axis. Then for each File, I would like to see the count for every hour.

I understand that Kibana does not have a feature to achieve it now. So I downloaded the timelion plugin and tried using it. But not sure on what expression should i have to achieve the above line chart. And will the indexes in elasticsearch will be available in timelion?

Any help would be appreciated !!

---

<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, 2017, 1:39pm UTC](https://discuss.elastic.co/t/creating-line-charts-using-timelion/59348/2 "2017-07-06T13:39:55Z")

</div>


