> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xsiam/configure-cortex-xsiam/data-management/data-model-rules/monitor-data-model-rules-activity.md).

# Monitor Data Model Rules activity

{% hint style="warning" %}

### Prerequisite

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.
{% endhint %}

Cortex XSIAM logs entries for events related to the Data Model Rules monitored activities. Cortex XSIAM stores the logs for 365 days. To view the Data Model Rules audit logs, select **Settings** → **Management Audit Logs**.

To ensure you and your colleagues stay informed about Data Model Rules activity, you can [Configure notification forwarding](/cortex-xsiam/onboard-cortex-xsiam/post-deployment/data-and-log-forwarding/forward-logs-and-data-from-cortex-xsiam-to-external-services/configure-notification-forwarding.md) to forward your Data Model Rules audit logs to an email distribution list or Syslog server.

You can customize your view of the logs by adding or removing filters to the **Management Audit Logs** table. You can also filter the page result to narrow down your search. The following table describes the default and optional fields that you can view in the Cortex XSIAM **Management Audit Logs** table:

{% hint style="info" %}

### Note

Certain fields are exposed and hidden by default. An asterisk (\*) is beside every field that is exposed by default.
{% endhint %}

| Field                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Description\*         | Log message that describes the action.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Email                 | Email of the user who performed the action.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Host Name\*           | This field is not applicable for Data Model Rules logs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ID                    | Unique ID of the action.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Reason                | This field is not applicable for Data Model Rules logs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Result\*              | The result of the action ( `Success`, `Fail`, or `Partial`)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Severity\*            | <p>Severity associated with the log:</p><ul><li><code>Critical</code></li><li><code>High</code></li><li><code>Medium</code></li><li><code>Low</code></li><li><code>Informational</code></li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Timestamp\*           | Date and time when the action occurred.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Type\* and Sub-Type\* | <p>Additional classifications of Data Model Rules logs (Type and Sub-Type):</p><ul><li><p><strong>XDM Config</strong>:</p><ul><li><strong>Saving XDM mappings file</strong>: Indicates whenever a Data Model Rule is saved in the editor, the specific changes made to the Cortex Data Model (XDM) mappings. In addition, indicates whenever the changes weren't able to be saved.</li><li><strong>Disabled</strong>: Indicates the Data Model Rule and associated dataset that are now disabled. This invalid rule is excluded from the query until the changes are made to fix the problem.</li><li><strong>Enabled</strong>: Indicates the Data Model Rule and associated dataset that have been updated and are now enabled.</li></ul></li></ul> |
| User Name\*           | Name of the user who performed the action.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsiam/configure-cortex-xsiam/data-management/data-model-rules/monitor-data-model-rules-activity.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
