> 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).

# xdm.source

Information about the source of the activity

## Field groups

* [`xdm.source.host`](/xsiam-data-model-schema/fields/source/host.md)
* [`xdm.source.agent`](/xsiam-data-model-schema/fields/source/agent.md)
* [`xdm.source.identity`](/xsiam-data-model-schema/fields/source/identity.md)
* [`xdm.source.user`](/xsiam-data-model-schema/fields/source/user.md)
* [`xdm.source.location`](/xsiam-data-model-schema/fields/source/location.md)
* [`xdm.source.process`](/xsiam-data-model-schema/fields/source/process.md)
* [`xdm.source.application`](/xsiam-data-model-schema/fields/source/application.md)
* [`xdm.source.asn`](/xsiam-data-model-schema/fields/source/asn.md)
* [`xdm.source.cloud`](/xsiam-data-model-schema/fields/source/cloud.md)
* [`xdm.source.virtualization`](/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 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/xsiam-data-model-schema/fields/source.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.
