> 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/customize-cases-and-issues/customize-case-fields-and-layouts/case-fields/create-custom-case-fields.md).

# Create custom case fields

Create custom case fields in Cortex XSIAM to capture investigation details, standardize case data, and support SOC workflows.

Create custom case fields in Cortex XSIAM to add them to custom case layouts.

You can create custom case fields to:

* Map raw JSON fields from incoming issues.
* Display custom fields data in the **Cases** table.
* Create correlation rules that generate issues from XQL queries and map the output of the queries to custom case fields.
* Design custom case layouts that include custom case fields.

### Create a new custom case field in Cortex XSIAM:

1. Select **Settings** → **Configurations** → **Object Setup** → **Cases** → **Fields** → **New Field**.
2. Choose a field type and enter a field name. You can add an optional tooltip to provide users with information about the field.

   If adding a grid, see [Create a grid field for a case](/cortex-xsiam/configure-cortex-xsiam/customize-cases-and-issues/customize-case-fields-and-layouts/case-fields/create-a-grid-field-for-a-case.md).
3. Save your changes.

Custom case fields can be exported and imported. To export a single custom case field, right-click on the field in the fields table, and select **Export**. To export all custom case fields in a single JSON file, click the **Export All** button above the fields table.

After a custom case field is created, it can be edited, deleted, or exported by right-clicking on the row. The field name and field type cannot be changed after the field is created.


---

# 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/cortex-xsiam/configure-cortex-xsiam/customize-cases-and-issues/customize-case-fields-and-layouts/case-fields/create-custom-case-fields.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.
