> 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/xsiam-data-model-schema/fields/source.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# xdm.source

Information about the source of the activity

## Field groups

* [`xdm.source.host`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source/host.md)
* [`xdm.source.agent`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source/agent.md)
* [`xdm.source.identity`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source/identity.md)
* [`xdm.source.user`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source/user.md)
* [`xdm.source.location`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source/location.md)
* [`xdm.source.process`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source/process.md)
* [`xdm.source.application`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source/application.md)
* [`xdm.source.asn`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source/asn.md)
* [`xdm.source.cloud`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source/cloud.md)
* [`xdm.source.virtualization`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source/virtualization.md)

## Fields

#### `xdm.source.user_agent`

|             |                        |
| ----------- | ---------------------- |
| Description | The source user-agent. |
| Datatype    | String                 |
| Dataclass   | Scalar                 |

#### `xdm.source.ipv4`

|             |                                          |
| ----------- | ---------------------------------------- |
| Description | The source IPv4 address of the activity. |
| Datatype    | IPv4                                     |
| Dataclass   | Scalar                                   |

#### `xdm.source.ipv6`

|             |                                          |
| ----------- | ---------------------------------------- |
| Description | The source IPv6 address of the activity. |
| Datatype    | IPv6                                     |
| Dataclass   | Scalar                                   |

#### `xdm.source.is_internal_ip`

|             |                                                                  |
| ----------- | ---------------------------------------------------------------- |
| Description | Whether the source IP address is internal (auto-enriched field). |
| Datatype    | Boolean                                                          |
| Dataclass   | Scalar                                                           |

#### `xdm.source.port`

|             |                  |
| ----------- | ---------------- |
| Description | The source port. |
| Datatype    | Number           |
| Dataclass   | Scalar           |

#### `xdm.source.sent_bytes`

|             |                                                     |
| ----------- | --------------------------------------------------- |
| Description | The amount of bytes transmitted by the source host. |
| Datatype    | Number                                              |
| Dataclass   | Scalar                                              |
| Unit        | Bytes                                               |

#### `xdm.source.sent_packets`

|             |                                                       |
| ----------- | ----------------------------------------------------- |
| Description | The amount of packets transmitted by the source host. |
| Datatype    | Number                                                |
| Dataclass   | Scalar                                                |

#### `xdm.source.interface`

|             |                                                         |
| ----------- | ------------------------------------------------------- |
| Description | The source interface address (usually the MAC address). |
| Datatype    | String                                                  |
| Dataclass   | Scalar                                                  |

#### `xdm.source.zone`

|             |                                     |
| ----------- | ----------------------------------- |
| Description | The region/zone of the source host. |
| Datatype    | String                              |
| Dataclass   | Scalar                              |

#### `xdm.source.subnet`

|             |                                                        |
| ----------- | ------------------------------------------------------ |
| Description | The subnet of the source IP address, in CIDR notation. |
| Datatype    | String                                                 |
| Dataclass   | Scalar                                                 |
| Examples    | 198.51.100.0/22, 2001:db8::/48                         |

#### `xdm.source.vlan`

|             |                              |
| ----------- | ---------------------------- |
| Description | The VLAN of the source host. |
| Datatype    | Number                       |
| Dataclass   | Scalar                       |


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/source.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
