# Export Audit Log

JFrog Connect enables you to export an [audit log](https://docs.connect.jfrog.io/administration-new-ui/general-settings/audit-log) to a file, which can be in either CSV or JSON format. The data you can export includes the last 30 days, and there is no limit on the file size.&#x20;

Exporting the audit log is available to customers who have [Jfrog Artifactory](https://jfrog.com/artifactory/) and to Administrator users only.

To export data from the audit log, do the following:

1. Go to General Settings in the left navigation pane and click the **Audit Log** tab.
2. Hover you mouse over the **Export** button on the top right of the table.

<div align="left"><figure><img src="https://281698992-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcUwFTbActVAz7P0DXU6J%2Fuploads%2Fcgk7qgGF9hHzPOtj7BIp%2Fexport-audit-log-nui-01.png?alt=media&#x26;token=79e70ded-5745-4e34-b145-a16a95bfdaa3" alt=""><figcaption></figcaption></figure></div>

3. Choose the data format for the file. The file will download and will automatically be compressed as a GZIP file.

## Sample Output

The following is an example of the columns and data output in the CSV file. This example is displayed in Google Sheets.

<div align="left"><figure><img src="https://content.gitbook.com/content/cUwFTbActVAz7P0DXU6J/blobs/Zpdtl0GauNFIkUfBBD3F/create-access-token-05.png" alt=""><figcaption></figcaption></figure></div>

The columns in the CSV file appear slightly differently from the columns that appear in the web UI.

* `Actor_fqn` shows the actor type (e.g., user, device, API), a slash, and then the user’s email or UUID. In the table in the web UI, this information is presented in two separate columns: Actor Type and Actor.
* `Operation` shows the resource category (e.g., Device, App, Alert channel), a period, and then and then the action, e.g., device.update. The web UI displays this as the Resource Type and the Event columns.
* `Resource_fqn` is a combination of the Resource Type (e.g., device), the Project (e.g., demjam), and the Resource columns in the web UI. The Resource is represented by a UUID.

The following is an example of three events in an exported JSON file. This uses `Actor_fqn`, `Operation`, and `Resource_fqn` as keys, and the values are as described above.

<div align="left"><figure><img src="https://content.gitbook.com/content/cUwFTbActVAz7P0DXU6J/blobs/Jaub6gN85iPHgsWNFKet/export-audit-log-07.png" alt="" width="374"><figcaption></figcaption></figure></div>

## What’s Next?

Learn about [registries and access scoping](https://docs.connect.jfrog.io/administration-new-ui/general-settings/registry).
