# Display a line for. hit(s) per second

**URL:** <https://discuss.elastic.co/t/display-a-line-for-hit-s-per-second/53329>\
**Category:** Kibana\
**Created:** [June 20, 2016, 3:07pm UTC](https://discuss.elastic.co/t/display-a-line-for-hit-s-per-second/53329 "2016-06-20T15:07:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Csuka](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@Kevin\_Csuka](https://discuss.elastic.co/u/Kevin_Csuka)\
**Post date:** [June 20, 2016, 3:07pm UTC](https://discuss.elastic.co/t/display-a-line-for-hit-s-per-second/53329/1 "2016-06-20T15:07:46Z")

</div>

It is possible to display a line on a visualization for each hit per second.  
Example:

On the Discover tab there are total 12 hits, divided in 2 seconds  
Between 12:00:00 and 12:00:01 there are 8 hits.  
Between 12:00:01 and 12:00:02 there are 4 hits.

How can I visualize this?

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [June 20, 2016, 6:18pm UTC](https://discuss.elastic.co/t/display-a-line-for-hit-s-per-second/53329/2 "2016-06-20T18:18:26Z")

</div>

Yes, this is possible. Create a new line chart visualization, then under "buckets" select "X-Axis", and under "Aggregation" select "Date Histogram", then under "Interval" select "Second". Hope this helps!

---

<div class="post-metadata">

**Author:** ![Kevin\_Csuka](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@Kevin\_Csuka](https://discuss.elastic.co/u/Kevin_Csuka)\
**Post date:** [June 21, 2016, 8:45am UTC](https://discuss.elastic.co/t/display-a-line-for-hit-s-per-second/53329/3 "2016-06-21T08:45:07Z")

</div>

Yeah, got it.  
Is it possible to display the average in a Metric?

In this case the average would be 6.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [June 21, 2016, 3:44pm UTC](https://discuss.elastic.co/t/display-a-line-for-hit-s-per-second/53329/4 "2016-06-21T15:44:40Z")

</div>

Unfortunately, that won't be possible until the following is implemented:

> <https://github.com/elastic/kibana/issues/4584>

---

<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:49pm UTC](https://discuss.elastic.co/t/display-a-line-for-hit-s-per-second/53329/5 "2017-07-06T13:49:45Z")

</div>


