Skip to content

Export audit events data to CSV

Problem to Solve

Customers have processes and systems outside of GitLab that rely on GitLab's audit events information for analysis and reporting. Currently, it is not possible to export the audit logs from the Admin Panel in a fast, efficient way through the user interface. This requires customers to invest time and effort in workarounds to obtain the information they need, which creates a bad experience, hinders productivity, and may be insufficient for their purposes.

Additional Detail

&1217 (closed) focuses on making audit logs more comprehensive and introduces usability improvements to include exporting data through the GitLab UI.

Currently, Audit Logs cannot be exported as a CSV from the GitLab UI.

Use Cases

  • I'm an administrator who needs to provide regular reports for my internal auditing team
  • I'm an administrator who doesn't want to rely on a developer every time I need to do an analysis of audit events
  • I'm an administrator who's trying to answer specific questions for my internal auditing team

Intended users

Sidney (Systems Administrator)

Job To Be Done

When I need to share a report of the events on an instance, I want to create an artifact that reflects the current data set, so that I can independently answer specific questions.

Proposal

  • Add Page Title Audit Log
  • Add ️ Current View Button
    • Tooltip: Export as CSV (max size 15 MB)
    • Structure: Breaks details into separate columns (to avoid breaking changes in the future)
CSV Schema
name value
id 1
author_id 2
author_name Bruce Wayne
entity_id 6
entity_type Group
entity_path flightjs
target_id 2
target_type Project
target_details flightjs/flight
action Deleted project
ip_address 127.0.0.1
created_at 2019-08-30T07:00:41.885Z
With Export Current View Button (Figma) Mobile Pending Export
Export_current_view Mobile Frame_1
Edited by Austin Regnery