When exporting Audit logs that are greater than 300mb, the task can take greater than 30 minutes or result in a failure.
Aria Automation 8.x
This issue occurs because of the method by which the exported data is captured. It uses memory rather than streaming to reduce the potential memory cost against the Aria Automation environment and can fail when exporting a file in the millions of rows.
Instead of exporting from within the UI, collect a log bundle and extract the Audit logs from the bundle. On extracted log bundle you can find the audit logs here: /services-logs/prelude/ebs-app/file-logs/