diff --git a/blog-service/2025-07-28-alerts.md b/blog-service/2025-07-28-alerts.md new file mode 100644 index 0000000000..405aa8059e --- /dev/null +++ b/blog-service/2025-07-28-alerts.md @@ -0,0 +1,19 @@ +--- +title: Time range limits for subqueries in scheduled searches (Alerts) +image: https://help.sumologic.com/img/reuse/rss-image.jpg +keywords: + - alerts + - scheduled searches + - subqueries +hide_table_of_contents: true +--- + +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. + +Key benefits of this enhancements include: + +- Improved query performance and responsiveness. +- Encourage efficient search practices. +- Support sustainable resource usage. + +[Learn more](/docs/alerts/scheduled-searches/schedule-search/#step-3-time-range). diff --git a/docs/alerts/scheduled-searches/schedule-search.md b/docs/alerts/scheduled-searches/schedule-search.md index d56352b179..0b020f3415 100644 --- a/docs/alerts/scheduled-searches/schedule-search.md +++ b/docs/alerts/scheduled-searches/schedule-search.md @@ -44,6 +44,10 @@ The [time range](../../search/get-started-with-search/search-basics/time-range-e 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. ::: +:::note +The time range limitations below apply to both parent queries and subqueries in your scheduled search. +::: + 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`. The maximum allowed time range for different Scheduled Search frequencies is as below: