# Aggregate count for the day

**URL:** https://discuss.elastic.co/t/aggregate-count-for-the-day/229520
**Category:** Kibana
**Created:** [April 23, 2020, 5:17pm UTC](https://discuss.elastic.co/t/aggregate-count-for-the-day/229520 "2020-04-23T17:17:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![edvrfn](https://avatars.discourse-cdn.com/v4/letter/e/4bbf92/32.png) [@edvrfn](https://discuss.elastic.co/u/edvrfn)
#### Post date: [April 23, 2020, 5:17pm UTC](https://discuss.elastic.co/t/aggregate-count-for-the-day/229520/1 "2020-04-23T17:17:01Z")

</div>

I created a visualization which works fine for the time period set against KQL search bar. I want to display this visualization on the dashboard which has a refresh cycle of 30 minutes, but this visualization need to show the data for the last day/24hrs. How can i do that. So even if i change refresh to any value this visualization should always display last days aggregated count. I am using filebeats with panos module.

---

<div class="post-metadata">

### Author: ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)
#### Post date: [April 23, 2020, 8:16pm UTC](https://discuss.elastic.co/t/aggregate-count-for-the-day/229520/2 "2020-04-23T20:16:53Z")

</div>

Hello @edvrfn,

Which version of the elastic stack are you running?

You can set the dashboard refresh separately from the time range selected - [https://www.elastic.co/guide/en/kibana/current/autorefresh.html](https://www.elastic.co/guide/en/kibana/current/autorefresh.html)

--Matt

---

<div class="post-metadata">

### Author: ![edvrfn](https://avatars.discourse-cdn.com/v4/letter/e/4bbf92/32.png) [@edvrfn](https://discuss.elastic.co/u/edvrfn)
#### Post date: [April 24, 2020, 2:32pm UTC](https://discuss.elastic.co/t/aggregate-count-for-the-day/229520/3 "2020-04-24T14:32:20Z")

</div>

@mattkime May be i was wrong in saying refresh cycle, i should have said time range. I want data to be displayed for whole day even though time range is last 30 minutes or whatever for specific data. I am using 7.6.

---

<div class="post-metadata">

### Author: ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)
#### Post date: [April 24, 2020, 3:38pm UTC](https://discuss.elastic.co/t/aggregate-count-for-the-day/229520/4 "2020-04-24T15:38:12Z")

</div>

In your dashboard, click on the ellipsis in the upper right hand corner of the visualization in question. You can set a custom date range.

---

<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: [May 22, 2020, 3:38pm UTC](https://discuss.elastic.co/t/aggregate-count-for-the-day/229520/5 "2020-05-22T15:38:18Z")

</div>

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