Skip to content

Commit ed517f5

Browse files
amee-sumoJV0812kimsauce
authored
Scheduled Searches: Subquery optimization (#5629)
* Scheduled Searches: Subquery optimization * Update 2025-07-28-alerts.md * Update 2025-07-28-alerts.md * Update docs/alerts/scheduled-searches/schedule-search.md Co-authored-by: Kim (Sumo Logic) <[email protected]> * Update 2025-07-28-alerts.md * Update 2025-07-28-alerts.md --------- Co-authored-by: Jagadisha V <[email protected]> Co-authored-by: Kim (Sumo Logic) <[email protected]>
1 parent dfbf875 commit ed517f5

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

blog-service/2025-07-28-alerts.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Time range limits for subqueries in scheduled searches (Alerts)
3+
image: https://help.sumologic.com/img/reuse/rss-image.jpg
4+
keywords:
5+
- alerts
6+
- scheduled searches
7+
- subqueries
8+
hide_table_of_contents: true
9+
---
10+
11+
We've introduced time range limits for subqueries in scheduled searches. This change helps you prevent long-running, inefficient queries, especially those impacting system stability and that drive up costs. While maintaining flexibility, these optimizations protect system health and reduce operational overhead.
12+
13+
Key benefits of this enhancements include:
14+
15+
- Improved query performance and responsiveness.
16+
- Encourage efficient search practices.
17+
- Support sustainable resource usage.
18+
19+
[Learn more](/docs/alerts/scheduled-searches/schedule-search/#step-3-time-range).

docs/alerts/scheduled-searches/schedule-search.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ The [time range](../../search/get-started-with-search/search-basics/time-range-e
4444
This setting is different than the Time Range option configured for the Saved Search. The first time range is only used when you run the Saved Search from the Library. This Time Range applies to your Scheduled Search.
4545
:::
4646

47+
:::note
48+
The time range limitations below apply to both parent queries and subqueries in your scheduled search.
49+
:::
50+
4751
Alternately, type a time range; for example, -15m to run the search against data generated in the past 15 minutes. A time range outside the maximum allowed range for a given frequency is not allowed and presents the message like this: `Invalid query. Max allowed time range for 15 minutes frequency is 1 day`.
4852

4953
The maximum allowed time range for different Scheduled Search frequencies is as below:

0 commit comments

Comments
 (0)