Skip to content

Commit abf2277

Browse files
authored
Merge pull request #202958 from oshezaf/asim/add-schema-identi-to-parser-tester
asim/add-schema-identi-to-parser-tester
2 parents 1a495df + 5f7b492 commit abf2277

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/sentinel/normalization-develop-parsers.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,15 @@ Handle the results as follows:
426426
To make sure that your parser produces valid values, use the ASIM data tester by running the following query in the Microsoft Sentinel **Logs** page:
427427

428428
```KQL
429-
<parser name> | limit <X> | invoke ASimDataTester('<schema>')
429+
<parser name> | limit <X> | invoke ASimDataTester ( ['<schema>'] )
430430
```
431431

432+
Specifying a schema is optional. If a schema is not specified, the `EventSchema` field is used to identify the schema the event should adhere to. Ig an event does not include an `EventSchema` field, only common fields will be verified. If a schema is specified as a parameter, this schema will be used to test all records. This is useful for older parsers that do not set the `EventSchema` field.
433+
434+
> [!NOTE]
435+
> Even when a schema is not specified, empty parentheses are needed after the function name.
436+
>
437+
432438
This test is resource intensive and may not work on your entire data set. Set X to the largest number for which the query will not time out, or set the time range for the query using the time range picker.
433439

434440
Handle the results as follows:

0 commit comments

Comments
 (0)