Skip to content

Commit 80b7aa0

Browse files
jusuchin85lecoursenCopilot
authored
[Improvement] Specify Limits on Exporting Audit Logs (Enterprise and Organization) (#61365)
Co-authored-by: Laura Coursen <lecoursen@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d7f5541 commit 80b7aa0

4 files changed

Lines changed: 42 additions & 2 deletions

File tree

content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/exporting-audit-log-activity-for-your-enterprise.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,15 @@ You can export Git events data by downloading a JSON file from your enterprise a
2020

2121
{% data reusables.audit_log.git-events-export-limited %}
2222

23-
{% data reusables.audit_log.exported-log-keys-and-values %}
23+
As an alternative to exporting log events, you can use the API to retrieve audit log events. For more information, see [AUTOTITLE](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit-log-api-for-your-enterprise).
24+
25+
### Export limits
26+
27+
{% data reusables.audit_log.audit-log-enterprise-export-limit %}
2428

25-
As an alternative to exporting log events, you can use the API to retrieve audit log events, or set up {% data variables.product.github %} to stream audit data as events are logged. For more information, see [AUTOTITLE](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit-log-api-for-your-enterprise) and [AUTOTITLE](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise).
29+
### Exported log keys and values
30+
31+
{% data reusables.audit_log.exported-log-keys-and-values %}
2632

2733
## Exporting audit log data
2834

content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ You can identify all events that were performed by a specific access token. For
174174

175175
{% data reusables.audit_log.git-events-export-limited %}
176176

177+
### Export limits
178+
179+
{% data reusables.audit_log.audit-log-org-export-limit %}
180+
181+
### Exported log keys and values
182+
177183
{% data reusables.audit_log.exported-log-keys-and-values %}
178184
{% endif %}
179185

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{% ifversion ghec %}
2+
3+
There is a hard limit when exporting the audit logs for your enterprise. These limits are either:
4+
5+
* **100 MB** compressed file, or
6+
* **10 minutes** export processing time, or
7+
* **both**.
8+
9+
To avoid these limits, we recommend filtering the audit log to a smaller dataset before exporting. For more information, see [AUTOTITLE](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise).
10+
11+
If you intend to review a large dataset of audit logs, we recommend streaming your logs to an external data management system. For more information, see [AUTOTITLE](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise).
12+
13+
{% endif %}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{% ifversion fpt or ghec %}
2+
3+
There is a hard limit when exporting the audit logs for your organization. These limits are either:
4+
5+
* **100 MB** compressed file, or
6+
* **10 minutes** export processing time, or
7+
* **both**.
8+
9+
To avoid these limits, we recommend reducing the audit log to a smaller dataset before exporting. For more information, see [AUTOTITLE](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).
10+
11+
{% ifversion ghec %}
12+
If you intend to review a large dataset of audit logs, we recommend streaming your logs to an external data management system. For more information, see [AUTOTITLE](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise).
13+
{% endif %}
14+
15+
{% endif %}

0 commit comments

Comments
 (0)