> For the complete documentation index, see [llms.txt](https://docs.threatdefence.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.threatdefence.com/platform-management/data-export.md).

# Data Export

Data can be exported from the ThreatDefence platform in two ways. Either as small formatted selections as either CSV JSON from dashboard visualisations, or as large json dumps of raw, optionally filte

### Scoped Exports

From any dashboard, identify the visualisation that holds the data you're looking to export.

Select "Inspect" from the three dots on the top right of the visualisation.

<figure><img src="https://4191868192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOlFHF8fl339QOw3Og8L7%2Fuploads%2Fgit-blob-dca70a37140b901865f80ddd9e8060c6b2188c3d%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Then choose either Download CSV and select either "Formatted CSV" for formatted exports, or "Raw CSV" for unformatted exports.

<figure><img src="https://4191868192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOlFHF8fl339QOw3Og8L7%2Fuploads%2Fgit-blob-f32b8ee445db612139ee47f05daa3dccf26034ff%2FScreenshot%202026-01-19%20at%202.46.46%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

### Large Exports

In the event of an audit or a requirement for more data than a dashboard offers, an entire index can be exported with an optional filter over the documents.

Access portal.threatdefence.io, and go to "My Tenants > Data Export".

<figure><img src="https://4191868192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOlFHF8fl339QOw3Og8L7%2Fuploads%2Fgit-blob-cd91b84b238f29a769839fee428b13f509a5bc81%2FScreenshot%202026-01-21%20at%2011.41.10%E2%80%AFAM.png?alt=media" alt=""><figcaption></figcaption></figure>

From this screen, select the index pattern for export from "Select Index", and optionally enter a query into the "Enter DB query" field. Queries can be determined in Console to determine the filtering (e.g. limiting to a single host: `source.ip: 192.168.0.1`).

<figure><img src="https://4191868192-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOlFHF8fl339QOw3Og8L7%2Fuploads%2Fgit-blob-d5fe3e2a98f701303ae21389f6055992877ae1cf%2FScreenshot%202026-01-21%20at%2011.43.07%E2%80%AFAM.png?alt=media" alt=""><figcaption></figcaption></figure>

After the export completes, which may take a while depending on the scale of data selected, the download will be available as a .jsonl.gzip. This file can be opened by most desktop applications that can handle zip files.

***

## Having Trouble?

If you're experiencing any issues with user management, please open a request via the support portal, or email our support email at "<support@threatdefence.com>" and our team will assist you.


---

# 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://docs.threatdefence.com/platform-management/data-export.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.
