# "Filters" aggregation not working

**URL:** <https://discuss.elastic.co/t/filters-aggregation-not-working/162224>\
**Category:** Kibana\
**Created:** [December 27, 2018, 11:36am UTC](https://discuss.elastic.co/t/filters-aggregation-not-working/162224 "2018-12-27T11:36:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruthvik\_Sai](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Ruthvik\_Sai](https://discuss.elastic.co/u/Ruthvik_Sai)\
**Post date:** [December 27, 2018, 11:36am UTC](https://discuss.elastic.co/t/filters-aggregation-not-working/162224/1 "2018-12-27T11:36:41Z")

</div>

Hi friends,  
I am unable to use the filters aggregation as shown:  
 ![Screenshot%20(107)](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8d6786519917bf5a3e5c1d387389f6048b55c2b0.png)

The same filter is coming when I am using "add a filter" option:

![Screenshot%20(108)](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f8ab6daba278ba4363b16d330c45267e6497f7a.png)

Can any one please help in finding what could be the error?

thanks in advance

---

<div class="post-metadata">

**Author:** ![toldiwaw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toldiwaw/32/39185_2.png) [@toldiwaw](https://discuss.elastic.co/u/toldiwaw)\
**Post date:** [December 27, 2018, 12:35pm UTC](https://discuss.elastic.co/t/filters-aggregation-not-working/162224/2 "2018-12-27T12:35:08Z")

</div>

Hi,

filters should be used similar with that you are using in discover tab.  
Try to add the X-Axis with `@timestamp per hour`

Maybe this example will help you 😃

 ![kibana_filters_01](https://us1.discourse-cdn.com/elastic/original/3X/1/d/1ddc487fa86b927bd8100884e84bb63c2b4fda14.png) ![kibana_filters_02](https://us1.discourse-cdn.com/elastic/original/3X/0/3/0309db40a5e2a2fce423544912327e79c5a3b280.png) ![kibana_filters_03](https://us1.discourse-cdn.com/elastic/original/3X/2/8/28f5f8ea21948d13f90ef4be8284d560de4ce640.png)

---

<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:** [January 24, 2019, 12:35pm UTC](https://discuss.elastic.co/t/filters-aggregation-not-working/162224/3 "2019-01-24T12:35:11Z")

</div>

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