# Setting Time Filter to a default date

**URL:** <https://discuss.elastic.co/t/setting-time-filter-to-a-default-date/321494>\
**Category:** Kibana\
**Created:** [December 18, 2022, 1:02pm UTC](https://discuss.elastic.co/t/setting-time-filter-to-a-default-date/321494 "2022-12-18T13:02:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hasan](https://avatars.discourse-cdn.com/v4/letter/h/df705f/32.png) [@Hasan](https://discuss.elastic.co/u/Hasan)\
**Post date:** [December 18, 2022, 1:02pm UTC](https://discuss.elastic.co/t/setting-time-filter-to-a-default-date/321494/1 "2022-12-18T13:02:45Z")

</div>

Hello, I have a dashboard which is querying data on the basis of Time Filter values. As my data consists of values more than a year so I want to set the Time Filter to `past 12 months` as a default value from `15 mins`. Please help me how I can achieve this.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [December 18, 2022, 6:07pm UTC](https://discuss.elastic.co/t/setting-time-filter-to-a-default-date/321494/2 "2022-12-18T18:07:17Z")

</div>

Hi @Hasan Welcome to the community.

Please always let us know what version you are on when asking a question.

To do what you want

Go To Kibana -\> Stack Management -\> Advanced Settings -\> Time filter defaults

And set what you like Here is 12 months.

NOTE : You will need to Reload Kibana to see the new default.

```auto
  "from": "now-12M",
  "to": "now"
}

```

 ![Screen Shot 2022-12-18 at 9.29.11 AM](https://us1.discourse-cdn.com/elastic/original/3X/d/d/dd0629e480f7c3163272e893062fd8011d7d2b49.jpeg)

---

<div class="post-metadata">

**Author:** ![Hasan](https://avatars.discourse-cdn.com/v4/letter/h/df705f/32.png) [@Hasan](https://discuss.elastic.co/u/Hasan)\
**Post date:** [December 19, 2022, 8:27am UTC](https://discuss.elastic.co/t/setting-time-filter-to-a-default-date/321494/3 "2022-12-19T08:27:47Z")

</div>

Thank you for the response. It resolved the issue.

---

<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 16, 2023, 8:28am UTC](https://discuss.elastic.co/t/setting-time-filter-to-a-default-date/321494/4 "2023-01-16T08:28:35Z")

</div>

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