# Line graph with Timespan of 1 Hour

**URL:** <https://discuss.elastic.co/t/line-graph-with-timespan-of-1-hour/97004>\
**Category:** Kibana\
**Created:** [August 14, 2017, 5:28pm UTC](https://discuss.elastic.co/t/line-graph-with-timespan-of-1-hour/97004 "2017-08-14T17:28:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shroh](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@shroh](https://discuss.elastic.co/u/shroh)\
**Post date:** [August 14, 2017, 5:28pm UTC](https://discuss.elastic.co/t/line-graph-with-timespan-of-1-hour/97004/1 "2017-08-14T17:28:27Z")

</div>

Is it possible in Kibana to draw a line graph with count of an event over a timespan of 1 hour. We are right now doing the same thing in Splunk and want to replicate the same thing in Kibana.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [August 15, 2017, 3:20pm UTC](https://discuss.elastic.co/t/line-graph-with-timespan-of-1-hour/97004/2 "2017-08-15T15:20:07Z")

</div>

Hi,

Yep. You can use line graph and filters to pass a query containing your event.  
[https://www.elastic.co/guide/en/kibana/current/xy-chart.html](https://www.elastic.co/guide/en/kibana/current/xy-chart.html)

```auto
You can specify a set of filters for the data. You can specify a filter as a query string or in JSON format, just as in the Discover search bar. Click Add Filter to add another filter. Click the Label button icon label button to open the label field, where you can type in a name to display on the visualization.

```

Thanks,  
Bhavya

---

<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 12, 2017, 3:20pm UTC](https://discuss.elastic.co/t/line-graph-with-timespan-of-1-hour/97004/3 "2017-09-12T15:20:24Z")

</div>

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