Skip to content

Commit a4c02df

Browse files
committed
Change queries to sql
1 parent 33ea5a8 commit a4c02df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cse/rules/about-cse-rules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ You can query audit logs for rule status changes. (For more information about qu
9090

9191
The following query queries for match rules whose status was changed automatically to `Warning` by the system:
9292

93-
```json
93+
```sql
9494
_index=sumologic_system_events _sourceCategory=cseRule
9595
| json field=_raw "templatedMatchRule.status"
9696
| where eventname = "TemplatedMatchRuleUpdated"
@@ -116,7 +116,7 @@ You can set up this query for one or multiple rules, with one or multiple status
116116

117117
If you want to query simply for match rules that are disabled, you could execute a query like this:
118118

119-
```json
119+
```sql
120120
(_index=sumologic_audit_events OR _index=sumologic_system_events) _sourceCategory=cseRule
121121
| json field=_raw "templatedMatchRule.enabled"
122122
| where eventname = "TemplatedMatchRuleUpdated"

0 commit comments

Comments
 (0)