# Gauges don't display a number for last 5 min, but do display for last 1hr, even though there is data

**URL:** https://discuss.elastic.co/t/gauges-dont-display-a-number-for-last-5-min-but-do-display-for-last-1hr-even-though-there-is-data/270282
**Category:** Kibana
**Created:** [April 15, 2021, 4:46pm UTC](https://discuss.elastic.co/t/gauges-dont-display-a-number-for-last-5-min-but-do-display-for-last-1hr-even-though-there-is-data/270282 "2021-04-15T16:46:33Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jerrac](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jerrac/32/52980_2.png) [@jerrac](https://discuss.elastic.co/u/jerrac)
#### Post date: [April 15, 2021, 4:46pm UTC](https://discuss.elastic.co/t/gauges-dont-display-a-number-for-last-5-min-but-do-display-for-last-1hr-even-though-there-is-data/270282/1 "2021-04-15T16:46:33Z")

</div>

Here's an issue that I'm having a hard time figuring out how to search on. So far I haven't found anyone else describing something similar. Any tips would be appreciated.

So, I've configured a gauge based on the memory usage gauge that comes from metricbeat. I've just limited it to only display for a specific agent.hostname. In the panel filter text box I set something like: `agent.hostname: "hostname"`

Everything else is the same as when I

But when I view data from the last 5 minutes, the gauge doesn't show anything. It looks like:  
 ![last5](https://us1.discourse-cdn.com/elastic/original/3X/7/3/73c4d654ac40ee7eb64cbf867fc28cdf85ff9ffa.png)

If I switch to the last hour:

![last hour](https://us1.discourse-cdn.com/elastic/original/3X/a/d/adfa8ea910eeec2b208ddc862ccba235c20a23aa.png)

I've confirmed via Discover that there is data in the `system.memory.actual.used.pct` field for the past 5 minutes.

I see the same behavior on other gauges when I filter down to the last 5 minutes on the `[Metricbeat System] Host overview ECS` dashboard.

 ![metricbeatgauges](https://us1.discourse-cdn.com/elastic/original/3X/f/0/f05f3099a608edaa4f3dd4b298836d7b1855892e.png)

Switch to 1hr:

 ![metricbeatgauges1hr](https://us1.discourse-cdn.com/elastic/original/3X/c/a/ca1bf4b22810050378bb602aa65b818a32246d94.png)

Any ideas?

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [April 15, 2021, 4:56pm UTC](https://discuss.elastic.co/t/gauges-dont-display-a-number-for-last-5-min-but-do-display-for-last-1hr-even-though-there-is-data/270282/2 "2021-04-15T16:56:50Z")

</div>

This is a pretty common problem, so much so that I put it first in the TSVB faq: [TSVB | Kibana Guide [7.12] | Elastic](https://www.elastic.co/guide/en/kibana/current/tsvb.html#tsvb-faq)

You probably need to switch to "Entire timerange" mode instead of last value. In the next release of 7.13 we are making this mode the default and warning you if you don't use it, but for all current versions I recommend using Entire timerange mode.

---

<div class="post-metadata">

### Author: ![jerrac](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jerrac/32/52980_2.png) [@jerrac](https://discuss.elastic.co/u/jerrac)
#### Post date: [April 15, 2021, 5:04pm UTC](https://discuss.elastic.co/t/gauges-dont-display-a-number-for-last-5-min-but-do-display-for-last-1hr-even-though-there-is-data/270282/3 "2021-04-15T17:04:00Z")

</div>

Thanks. I've spent most of my time getting my dev cluster running, and not enough on visualization to have even thought of looking up TSVB.... :\

Will that change be applied to the metricbeat visualizations when I upgrade metricbeat to 7.13?

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [April 15, 2021, 5:18pm UTC](https://discuss.elastic.co/t/gauges-dont-display-a-number-for-last-5-min-but-do-display-for-last-1hr-even-though-there-is-data/270282/4 "2021-04-15T17:18:42Z")

</div>

No, we're not going to automatically change existing TSVB visualizations. Newly created ones will have this by default.

---

<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 13, 2021, 5:19pm UTC](https://discuss.elastic.co/t/gauges-dont-display-a-number-for-last-5-min-but-do-display-for-last-1hr-even-though-there-is-data/270282/5 "2021-05-13T17:19:29Z")

</div>

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