# Audit log

The audit log shows details about who accessed what and when in the Seascape Flex server.

By default, the audit is disabled. To enable it, you must open the "appsettings.json" file in your Seascape Flex directory and change the "EnableAudit" variable to true.

Once you have made the necessary changes, you will need to **restart the Seascape Flex server**.

{% hint style="info" %}
Only the admin user role has access to the audit log.
{% endhint %}

<figure><img src="/files/YWprAfRZleJCivDoZk55" alt=""><figcaption></figcaption></figure>

Once logged in as admin, navigate to the settings in the top right corner of Flex:

<figure><img src="/files/lNkLUzlMTJjNRTvkXU3y" alt=""><figcaption></figcaption></figure>

Next click on the 3rd tab in the view, "Audit".&#x20;

<figure><img src="/files/VHgn8EGZ6w2sabGgav3p" alt=""><figcaption></figcaption></figure>

There is an option to **export the audit log** by clicking on the "Export" button.&#x20;

<figure><img src="/files/C2a2yZ2lSQmEhVdxwE1v" alt=""><figcaption></figcaption></figure>

The audit log is exported into a **csv** file:

<figure><img src="/files/rj5A3cPV7E7evXpQKtps" alt=""><figcaption></figcaption></figure>

To **delete** and clear the audit log, click on the rubbish bin icon on the right hand side:

<figure><img src="/files/U0jjKldYgaXu4J5u4Y7o" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.swingsoftware.com/seascape-for-notes/seascape-flex/audit-log.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
