Skip to content

Commit 4a87d0a

Browse files
Merge pull request #248812 from yelevin/yelevin-patch-2
Removed restrictions on using unions and joins in NRT queries
2 parents cc84e27 + cd004f3 commit 4a87d0a

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

articles/sentinel/create-nrt-rules.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You create NRT rules the same way you create regular [scheduled-query analytics
4242

4343
The configuration of NRT rules is in most ways the same as that of scheduled analytics rules.
4444

45-
- You can refer to [**watchlists**](watchlists.md) in your query logic.
45+
- You can refer to multiple tables and [**watchlists**](watchlists.md) in your query logic.
4646

4747
- You can use all of the alert enrichment methods: [**entity mapping**](map-data-fields-to-entities.md), [**custom details**](surface-custom-details-in-alerts.md), and [**alert details**](customize-alert-details.md).
4848

@@ -58,8 +58,6 @@ You create NRT rules the same way you create regular [scheduled-query analytics
5858

5959
In addition, the query itself has the following requirements:
6060

61-
- The query itself can refer to only one table, and cannot contain unions or joins.
62-
6361
- You can't run the query across workspaces.
6462

6563
- Due to the size limits of the alerts, your query should make use of `project` statements to include only the necessary fields from your table. Otherwise, the information you want to surface could end up being truncated.

articles/sentinel/near-real-time-rules.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ The following limitations currently govern the use of NRT rules:
3737

3838
(Since the NRT rule type is supposed to approximate **real-time** data ingestion, it doesn't afford you any advantage to use NRT rules on log sources with significant ingestion delay, even if it's far less than 12 hours.)
3939

40-
1. As this type of rule is new, its syntax is currently limited but will gradually evolve. Therefore, at this time the following restrictions are in effect:
41-
42-
1. The query defined in an NRT rule can reference **only one table**. Queries can, however, refer to multiple watchlists.
43-
44-
1. You cannot use unions or joins.
40+
1. The syntax for this type of rule is gradually evolving. At this time the following limitations remain in effect:
4541

4642
1. Because this rule type is in near real time, we have reduced the built-in delay to a minimum (two minutes).
4743

@@ -51,6 +47,8 @@ The following limitations currently govern the use of NRT rules:
5147

5248
1. Event grouping is now configurable to a limited degree. NRT rules can produce up to 30 single-event alerts. A rule with a query that results in more than 30 events will produce alerts for the first 29, then a 30th alert that summarizes all the applicable events.
5349

50+
1. Queries defined in an NRT rule can now reference **more than one table**.
51+
5452
## Next steps
5553

5654
In this document, you learned how near-real-time (NRT) analytics rules work in Microsoft Sentinel.

0 commit comments

Comments
 (0)