# Kibana - Visualization shows 0 results

**URL:** https://discuss.elastic.co/t/kibana-visualization-shows-0-results/246993
**Category:** Kibana
**Created:** [August 31, 2020, 5:25pm UTC](https://discuss.elastic.co/t/kibana-visualization-shows-0-results/246993 "2020-08-31T17:25:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![spiri](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@spiri](https://discuss.elastic.co/u/spiri)
#### Post date: [August 31, 2020, 5:25pm UTC](https://discuss.elastic.co/t/kibana-visualization-shows-0-results/246993/1 "2020-08-31T17:25:50Z")

</div>

Hello,

I integrated my syslog-ng with Elasticsearch + Kibana and I want to show the count of denied and allowed connections in a pie.

So I created a new visualization for a pie, then splitted the slice twice and selecting a filter.

The first slice should filter the following entries:

```auto
SOURCE:router and MESSAGE:*DENY*
```

The second slice should filter this:

```auto
SOURCE:router and MESSAGE:*ALLOW*
```

The problem is, only the count for the first query is being displayed. No matter how I order things, just the first query entered in a freshly created visualization is being displayed.

On the Discover page I can find hundreds of entries for both queries.

How to debug this kind of problem?

 ![Screenshot from 2020-08-31 19-22-42](https://us1.discourse-cdn.com/elastic/original/3X/7/2/72b44e58d44dd4143a845dca7565ca2e724073cc.png) ![Screenshot from 2020-08-31 19-22-51](https://us1.discourse-cdn.com/elastic/original/3X/7/5/7565ca6eef7fc2322ccb256d40c3b47aeff9b465.png) ![Screenshot from 2020-08-31 19-23-32](https://us1.discourse-cdn.com/elastic/original/3X/5/1/514f631931f3a3ea8ef5007e4afb24bb38222001.png)

---

<div class="post-metadata">

### Author: ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)
#### Post date: [August 31, 2020, 5:42pm UTC](https://discuss.elastic.co/t/kibana-visualization-shows-0-results/246993/2 "2020-08-31T17:42:01Z")

</div>

Welcome to the community @spiri

added 7 test messages in an index. 3 are ALLOW, 3 are DENY, and 1 is neither.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/7/f7887f8e24e05e2e8166bca5f92615a35dcc2404.png)

The donut chart is split with 3 on each side. Is this what you are looking for?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/0/b03b344e1e55e59c75ee8477e9100b1544988c1b.png)

---

<div class="post-metadata">

### Author: ![spiri](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@spiri](https://discuss.elastic.co/u/spiri)
#### Post date: [August 31, 2020, 5:45pm UTC](https://discuss.elastic.co/t/kibana-visualization-shows-0-results/246993/3 "2020-08-31T17:45:53Z")

</div>

Oh yes, this is what I am looking for!

My error was I created two Buckets but with adding a filter to the first one is working for me.

Thank you aaron-nimocks

---

<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 28, 2020, 5:46pm UTC](https://discuss.elastic.co/t/kibana-visualization-shows-0-results/246993/4 "2020-09-28T17:46:10Z")

</div>

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