# Kibana set date filter to show last 30 days

**URL:** <https://discuss.elastic.co/t/kibana-set-date-filter-to-show-last-30-days/235908>\
**Category:** Kibana\
**Created:** [June 5, 2020, 7:59am UTC](https://discuss.elastic.co/t/kibana-set-date-filter-to-show-last-30-days/235908 "2020-06-05T07:59:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![katara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/katara/32/60143_2.png) [@katara](https://discuss.elastic.co/u/katara)\
**Post date:** [June 5, 2020, 7:59am UTC](https://discuss.elastic.co/t/kibana-set-date-filter-to-show-last-30-days/235908/1 "2020-06-05T07:59:53Z")

</div>

Hi ,  
I have a query on how to apply date filter conditions.

so i have an index where i have not set the default time filter. ( i selected i do not want to set a time filter option while creating index) since i have many dates.

Now for loading purposes,  
I want to set the data to load only for the past 30 days in my dashboard, which can later be removed.

I want to use Add filter , here,  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/9/29dabf1ef14e146dc37ef82aab70729fdcd13d44.png)

now-7d is something i tried as a test, but it gave me the data before 7 days..

How do i set this to get daya from past 30 days till now.

Please help me.

Thanks!

Katara

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 9, 2020, 9:11am UTC](https://discuss.elastic.co/t/kibana-set-date-filter-to-show-last-30-days/235908/2 "2020-06-09T09:11:32Z")

</div>

Hi,  
you can try the "is between" operator

 ![Bildschirmfoto 2020-06-09 um 11.10.17](https://us1.discourse-cdn.com/elastic/original/3X/b/a/ba11f59490f220c5b9a0b26a3969121c7cd4918d.png)

Best,  
Matthias

---

<div class="post-metadata">

**Author:** ![katara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/katara/32/60143_2.png) [@katara](https://discuss.elastic.co/u/katara)\
**Post date:** [June 26, 2020, 5:53am UTC](https://discuss.elastic.co/t/kibana-set-date-filter-to-show-last-30-days/235908/3 "2020-06-26T05:53:40Z")

</div>

@matw,  
This totally is what I ended up using 🙂  
Thank you!!

---

<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:** [July 24, 2020, 5:53am UTC](https://discuss.elastic.co/t/kibana-set-date-filter-to-show-last-30-days/235908/4 "2020-07-24T05:53:50Z")

</div>

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