Cortex XSIAMParsing & Mapping
Data Model Rules file structure and syntax
Learn Cortex XSIAM Data Model Rules file structure and syntax.
Last updated
Was this helpful?
Learn Cortex XSIAM Data Model Rules file structure and syntax.
Data Model Rules requires View/Edit RBAC permissions for Data Management (under Configurations → Data Management), which are the same permissions required for Dataset Management, Parsing Rules, and Event Forwarding.
The Data Model Rules file consists of multiple sections of the following two types, which also represent the custom syntax specific to Data Model Rules:
MODEL: This section is used to define the mapping between a single dataset and the data model.
(OPTIONAL) RULE: Rules are part of the Cortex Query Language (XQL) syntax, which are tagged with a name, and can be reused in the code in the MODEL sections, or in other RULE sections (recursively), by using [rule:ruleName].
The order of the sections is not significant.
The syntax used in the Data Model Rules file is derived from XQL, with a few modifications. This subset of XQL is called XQL for Data Modeling (XQLm).
In the MODEL and RULE sections, the following modifications apply to the XQLm syntax:
No output stages are supported.
XDM_ALIAS cannot be used in rules. It is only supported in queries. For more information, see the search stage.
Every model definition in the Data Model Rules file must end with a semicolon (;).
Each XDM field used in the MODEL and RULE sections is constructed using dot notation using the following format:
xdm.[<context>].[<compound>].<field>For more information, see Field structure.
Last updated
Was this helpful?
Was this helpful?
