Quotas and Limits

Logging usage limits

Category Maximum value
Size of a log entry 100 KB*
Size of an entries.write request 5 MB*
Number of entries.write API calls 1000 per second, per project
Number of entries.list API calls 1 per second, per project
Export sinks 90 per project
Exclusion filters 50 per project

* This approximate limit is based on internal data sizes, not the actual REST API request size.

Logs-based metrics

Category Maximum value
Length of label value 1,024 bytes
Length of label description 800 bytes
Length of metric description 8,000 bytes
Active time series1 30,000
Metric descriptors per project 500
Histogram buckets per custom distribution metric 200

1A time series is active if you have written data points to it within the last 24 hours.

Stackdriver Logging API quotas and limits

Category Maximum value
Limits to API usage See the API dashboard. Click an API and select Quotas to see your quota.
Lifetime of API page tokens 24 hours

Logs retention periods

Log type Retention period
Admin Activity audit logs 400 days
Data Access audit logs 30 days
Access Transparency logs 30 days
Logs other than audit logs or Access Transparency logs 30 days

For information about Admin Activity and Data Access audit logs, see Cloud Audit Logging.

Was this page helpful? Let us know how we did:

Send feedback about...

Stackdriver Logging