Skip to content

Commit ecf3f11

Browse files
committed
Scheduled Searches: Subquery optimization
1 parent aed4e2d commit ecf3f11

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
To help you optimize query execution and improve data retrieval efficiency, we’ve introduced time range limits for sub-queries in scheduled searches.
12+
13+
These enhancements:
14+
- Improve query performance and responsiveness.
15+
- Encourage efficient search practices.
16+
- Support sustainable resource usage.
17+
18+
**Who benefits**
19+
Data analysts, IT operations, and security engineers seeking faster, more efficient investigations without compromising functionality.
20+
21+
**Why it matters**
22+
Inefficient long-term queries cost millions in compute resources and delay resolution times. This update keeps our platform high-performing and cost-effective, without sacrificing power or usability.
23+
24+
This change helps prevent long-running, inefficient queries, especially those impacting system stability and driving up costs. While maintaining flexibility, these optimizations protect system health and reduce operational overhead.
25+
26+
[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 applies to both parent queries and sub-queries 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)