# Showing a gauge for an empty result set

**URL:** https://discuss.elastic.co/t/showing-a-gauge-for-an-empty-result-set/95338
**Category:** Kibana
**Created:** [August 1, 2017, 12:33pm UTC](https://discuss.elastic.co/t/showing-a-gauge-for-an-empty-result-set/95338 "2017-08-01T12:33:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mark\_O\_Brien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_o_brien/32/20673_2.png) [@Mark\_O\_Brien](https://discuss.elastic.co/u/Mark_O_Brien)
#### Post date: [August 1, 2017, 12:33pm UTC](https://discuss.elastic.co/t/showing-a-gauge-for-an-empty-result-set/95338/1 "2017-08-01T12:33:15Z")

</div>

Hi,

I'm new to the ELK stack but have been getting along pretty well with it until I hit this problem.

I'm trying to create a dashboard which will show gauges to display rates of different kinds of errors that have occured recently in our logs. As such I've created a timeless index pattern so that I can have gauge visualisations with built in time periods, so searches such as "message:'deadlock victim' AND @timestamp:[now-30m TO now]" to search for deadlock errors in the past 30 minutes. The gauge uses the Count aggregation.

This seems to work well unless there have been no deadlocks in the past 30 minutes, in which case I get a bemused smiley 😑 and "No results found". I would prefer to see a gauge showing 0 results.

I'm using version 5.5.0 of Kibana and Elasticsearch. This issue appears to have been noticed before but it also appears to have been fixed in 4.5.0, so I don't know why I'm seeing it now.

Original issue:

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

4.5.0 Release notes:

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

Fix:

> <https://github.com/elastic/kibana/pull/5532>

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/4/d40ff1cb952d5f3df222b86619119f5de63b328f.png)

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [August 3, 2017, 11:58am UTC](https://discuss.elastic.co/t/showing-a-gauge-for-an-empty-result-set/95338/2 "2017-08-03T11:58:33Z")

</div>

@Mark_O_Brien this is a regression from previous versions, if you wouldn't mind filing a bug in GitHub we'll see what we can do to get it resolved: [https://github.com/elastic/kibana/issues/new](https://github.com/elastic/kibana/issues/new)

---

<div class="post-metadata">

### Author: ![Mark\_O\_Brien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_o_brien/32/20673_2.png) [@Mark\_O\_Brien](https://discuss.elastic.co/u/Mark_O_Brien)
#### Post date: [August 3, 2017, 12:24pm UTC](https://discuss.elastic.co/t/showing-a-gauge-for-an-empty-result-set/95338/3 "2017-08-03T12:24:23Z")

</div>

Thanks Brandon.

Issue opened here: [https://github.com/elastic/kibana/issues/13311](https://github.com/elastic/kibana/issues/13311)

---

<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: [August 31, 2017, 12:24pm UTC](https://discuss.elastic.co/t/showing-a-gauge-for-an-empty-result-set/95338/4 "2017-08-31T12:24:24Z")

</div>

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