
- The primary line describes the action (for example, “Alice admin has added Support entitlement” or “removed a member from the organization”).
- Expand an entry to see the structured metadata for that event.
- Use UI filters to narrow results by action type, actor, date range, country, token, and more.
- Use the built-in filters in the Audit log UI to focus on specific event types or actors.
- Fielded queries let you craft precise searches. For example, to list repositories created after a specific date:
- Combine filters to narrow results further (for example, a particular actor in a date range).
Accessing and exporting audit logs
- Use the Audit log UI for interactive searches and quick investigations.
- For automated analysis or long-term retention, retrieve audit events programmatically using GitHub’s REST API or configure log streaming to forward events to external log-management systems.
- Exports and streaming are useful for SIEM ingestion, compliance archives, or custom alerting.
Only enterprise or org administrators with the correct permissions can view or export Audit log data. Ensure you have appropriate authorization before attempting to access or forward audit events.
You can query audit logs via the REST API and configure log streaming to forward events to external log management tools for long-term analysis and alerting.