# Circuit breaker exception because of increased time range

**URL:** <https://discuss.elastic.co/t/circuit-breaker-exception-because-of-increased-time-range/260317>\
**Category:** Kibana\
**Created:** [January 6, 2021, 10:09am UTC](https://discuss.elastic.co/t/circuit-breaker-exception-because-of-increased-time-range/260317 "2021-01-06T10:09:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohitarorait82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rohitarorait82/32/82981_2.png) [@rohitarorait82](https://discuss.elastic.co/u/rohitarorait82)\
**Post date:** [January 6, 2021, 10:09am UTC](https://discuss.elastic.co/t/circuit-breaker-exception-because-of-increased-time-range/260317/1 "2021-01-06T10:09:41Z")

</div>

Hi All,

I am facing 429 circuit breaker exception when somebody selects a window of time range more than 7 days. Is there a way to lock the time filter,so that no user can search beyond 7 days.

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [January 6, 2021, 3:54pm UTC](https://discuss.elastic.co/t/circuit-breaker-exception-because-of-increased-time-range/260317/2 "2021-01-06T15:54:32Z")

</div>

This isn't a feature that we currently offer. You can work around this in a few ways:

1. Reduce the number of panels in your dashboard, so that it makes fewer requests.
2. Use the filter bar to add a time filter using relative time, like `time: { range: { gte: "now-7d" } }`. This will be an AND query.
3. Use one of our features to roll over/reduce the size of old date. For example, rollover indices or hot/warm architecture.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 6, 2021, 8:33pm UTC](https://discuss.elastic.co/t/circuit-breaker-exception-because-of-increased-time-range/260317/3 "2021-01-06T20:33:43Z")

</div>

What is the output from the `_cluster/stats?pretty&human` API in Elasticsearch?

---

<div class="post-metadata">

**Author:** ![rohitarorait82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rohitarorait82/32/82981_2.png) [@rohitarorait82](https://discuss.elastic.co/u/rohitarorait82)\
**Post date:** [January 8, 2021, 11:03am UTC](https://discuss.elastic.co/t/circuit-breaker-exception-because-of-increased-time-range/260317/4 "2021-01-08T11:03:17Z")

</div>

Hi @warkolm : I have created an alias for these indexes and created a filter with now-7d and has given other user access to this alias only.

Now they are able to select data for last 7 days only.

---

<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:** [February 5, 2021, 11:03am UTC](https://discuss.elastic.co/t/circuit-breaker-exception-because-of-increased-time-range/260317/5 "2021-02-05T11:03:23Z")

</div>

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