> For the complete documentation index, see [llms.txt](https://docs.aisera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aisera.com/aisera-platform/tenant-setup/aisera-platform-configuration/audit-trail/exporting-logs-to-external-systems.md).

# Exporting Logs to External Systems

The Aisera platform allows exporting log information from the **Audit Trail** to third-party applications. Set up an [event trigger](/aisera-platform/ai-automation-optimize-flow/event-studio.md#complete-the-following-steps-to-create-the-event-trigger) and use a [workflow](/aisera-platform/ai-automation-optimize-flow/ai-workflow-studio.md) to transfer the log data to your third-party application.

{% hint style="info" %}
You will need to have a Data Source correlating to the external system you want to export your logs to. You will need to create an [Integration](/aisera-platform/adding-data-to-your-tenant/integrations-and-data-sources/creating-a-connector/adding-and-managing-integrations-in-your-tenant.md) and [Data Source](/aisera-platform/adding-data-to-your-tenant/integrations-and-data-sources/creating-a-connector/adding-and-managing-data-sources-in-your-tenant.md) if you have not done so yet.
{% endhint %}

To export log data:

1. Select **AI Automation > Event Studio** from the left navigation pane of the Admin UI
2. Click **+ New Event Trigger** on the top right of the screen
3. Fill in the **Event Name** and set the **Status** to **Active**
4. Select **Workflow** for the **Event Handler Type**
5. Select **External** for the **Trigger Type** and select the Data Source you are exporting your logs to, then select **Next >**<br>

   <div align="left"><figure><img src="/files/dg5OdQHXf7gz9jVHTGxB" alt="" width="425"><figcaption></figcaption></figure></div>
6. Set the [**Data Type**](/aisera-platform/ticket-operations/ticket-concierge-tc-with-event-studio.md#pdf-page-dadjkgj7xh04x8ekaejl-create-ticket-concierge-channel), **Event Type,** and **Triggering Condition**, then click **Next >**

   <div align="left"><figure><img src="/files/JlzTuyPcjE9RblAetVJ1" alt="" width="430"><figcaption></figcaption></figure></div>
7. Select the **Workflow** you want to use your Event Handler, then click **OK** to save the event trigger

   <div align="left"><figure><img src="/files/HHPvaigZMTerBMdWCrns" alt="" width="427"><figcaption></figcaption></figure></div>
8. Click the link to the workflow you selected under the **Handler Workflow** column to navigate to the **Workflow Details** window of the AI Workflow Studio

   <figure><img src="/files/el1JvhhHxb6MoqpjEZSp" alt=""><figcaption></figcaption></figure>
9. The Workflow Details window displays the current Fallback flow.  Add your new Event Trigger to this flow to complete the process to push the data out to your 3rd party audit system.


---

# 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://docs.aisera.com/aisera-platform/tenant-setup/aisera-platform-configuration/audit-trail/exporting-logs-to-external-systems.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.
