# How to see the data from the time range \>=90 days in discover and alerting

**URL:** https://discuss.elastic.co/t/how-to-see-the-data-from-the-time-range-90-days-in-discover-and-alerting/311783
**Category:** Kibana
**Created:** [August 10, 2022, 3:40am UTC](https://discuss.elastic.co/t/how-to-see-the-data-from-the-time-range-90-days-in-discover-and-alerting/311783 "2022-08-10T03:40:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![muthusundar.p](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@muthusundar.p](https://discuss.elastic.co/u/muthusundar.p)
#### Post date: [August 10, 2022, 3:40am UTC](https://discuss.elastic.co/t/how-to-see-the-data-from-the-time-range-90-days-in-discover-and-alerting/311783/1 "2022-08-10T03:40:53Z")

</div>

Dear Experts,

Please let us know how to see or set a dashboard to view greater than 90days of data. every time we select the time range in the discover option.

---

<div class="post-metadata">

### Author: ![79g](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/79g/32/109191_2.png) [@79g](https://discuss.elastic.co/u/79g)
#### Post date: [August 10, 2022, 10:53am UTC](https://discuss.elastic.co/t/how-to-see-the-data-from-the-time-range-90-days-in-discover-and-alerting/311783/2 "2022-08-10T10:53:47Z")

</div>

You can also set an absolute date&time. See the screenshot below:  
 ![kibana](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1f566b1029b040624dd8d89db973e7e5e31a352a.png)

---

<div class="post-metadata">

### Author: ![muthusundar.p](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@muthusundar.p](https://discuss.elastic.co/u/muthusundar.p)
#### Post date: [August 11, 2022, 1:46am UTC](https://discuss.elastic.co/t/how-to-see-the-data-from-the-time-range-90-days-in-discover-and-alerting/311783/3 "2022-08-11T01:46:25Z")

</div>

# Thank You Dainel. I trying to create an alert for more than 90 days of records for my audit purpose. I only see the "last" xx days in the option, but I need more than \> 90 days old data. Could you please help me with how to set it up? I tried in-dev tools and got the expected result.

# GET kafka-xxxx-xxxx.\*/\_search { "\_source": ["data.xxxxxx.xxxx.xxxx","@timestamp"], "query": { "range": { "@timestamp": { "gte": "now-90d" } } } }

But unable to achieve in alerting part.

---

<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 8, 2022, 1:46am UTC](https://discuss.elastic.co/t/how-to-see-the-data-from-the-time-range-90-days-in-discover-and-alerting/311783/4 "2022-09-08T01:46:29Z")

</div>

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