For the complete documentation index, see llms.txt. This page is also available as Markdown.

Troubleshooting Data Model Rules

Prerequisite

To help you easily identify and resolve errors related to invalid Cortex Data Model (XDM) Rules, Cortex XSIAM provides the following:

  • When an XDM query runs and one of the Data Model Rules is invalid, the invalid rule is automatically disabled and excluded from the query, and a warning is displayed.

  • When a Data Model Rule is disabled, a message is added to your Cortex XSIAM console Notification Center. For more information about the Data Model Rules notifications, see Data Model Rules notifications.

  • The Data Model Rules editor displays an error icon and a message beside invalid Data Model Rules.

  • An audit log is added to the Management Audit Log whenever a Data Model Rule becomes invalid, and when an invalid Data Model Rule becomes valid.

    Tip

    To ensure you and your colleagues stay informed about Data Model Rules activity, you can also Configure notification forwarding to forward your Data Model Rules audit logs to an email distribution list or Syslog server. For more information about the Data Model Rules audit logs, see Monitor Data Model Rules activity.

  • When a rule is fixed, it is automatically enabled. User defined Data Model Rules are updated manually in the User Defined Rules editor. While default Data Model Rules are updated as part of a Marketplace package update, or a background change, such as an XQL content change.

  • All Data Model Rules compilation errors are added to the parsing_rules_errors dataset.

Dataset for Data Model Rules Errors

All Data Model Rules compilation errors, such as syntax errors, missing arguments, and invalid regex, are saved to a dataset called parsing_rules_errors. This dataset also includes Parsing Rules errors. The following table describes the fields that are applicable to troubleshooting Data Model Rules errors when running a query in XQL Search for the parsing_rules_errors dataset in alphabetical order.

Note

Since this dataset also contains Parsing Rules errors, some of the fields are irrelevant for Data Model Rules and aren't included in the table.

Read more...
Field
Description

CREATED_AT

Displays the timestamp when the error was generated.

ERROR_CATEGORY

Displays the category of the error, which for Data Model Rules errors is always Compile for compilation errors.

ERROR_MESSAGE

Displays the error message.

_ID

Displays the Rule ID that triggered this error.

RULE_TYPE

Displays the type of rule that triggered this error.

TARGET_DATASET

Displays the target dataset associated to the rule that triggered this error.

_TIME

Displays the timestamp when the error was generated.

XQL_TEXT

Displays the specific section of the Data Model Rule related to the error generated.

Last updated

Was this helpful?