# 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](https://docs.aisera.com/aisera-platform/ai-automation-optimize-flow/event-studio#complete-the-following-steps-to-create-the-event-trigger) and use a [workflow](https://docs.aisera.com/aisera-platform/ai-automation-optimize-flow/ai-workflow-studio) 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](https://docs.aisera.com/aisera-platform/adding-data-to-your-tenant/integrations-and-data-sources/creating-a-connector/adding-and-managing-integrations-in-your-tenant) and [Data Source](https://docs.aisera.com/aisera-platform/adding-data-to-your-tenant/integrations-and-data-sources/creating-a-connector/adding-and-managing-data-sources-in-your-tenant) 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="https://3281977978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBFXjH9S1CAy9f5hzg5Q%2Fuploads%2FVNnUu8ysAJAwC43Aaq3h%2Fimage.png?alt=media&#x26;token=3f127de4-00a2-4517-af59-f37ba226bf4c" alt="" width="425"><figcaption></figcaption></figure></div>
6. Set the [**Data Type**](https://docs.aisera.com/aisera-platform/ticket-operations/ticket-concierge-tc-with-event-studio#pdf-page-dadjkgj7xh04x8ekaejl-create-ticket-concierge-channel), **Event Type,** and **Triggering Condition**, then click **Next >**

   <div align="left"><figure><img src="https://3281977978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBFXjH9S1CAy9f5hzg5Q%2Fuploads%2FnkgUPwXANrAUBRVt72Ra%2Fimage.png?alt=media&#x26;token=092bd588-b035-45e6-8786-f171ade308dc" 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="https://3281977978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBFXjH9S1CAy9f5hzg5Q%2Fuploads%2Fi4Mq968w5ksBgZYPCkrB%2Fimage.png?alt=media&#x26;token=5682469d-d65a-42dd-93bf-123bb3d7eab7" 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="https://3281977978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBFXjH9S1CAy9f5hzg5Q%2Fuploads%2F2Wk6d2w3CxgwESqSr9Iu%2Fimage.png?alt=media&#x26;token=4bf6aadd-0559-4c72-b22f-f9cae41a7df1" 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.
