This page lists default limits for the latest version of Dynatrace Log Management and Analytics. The current limitations apply to both log file ingestion and log ingestion via the Log ingestion API.
The table below summarizes the most important default limits related to log ingest. All presented limits refer to UTF-8 encoded data.
| Type | Limit | Description |
|---|---|---|
Content | 10 MB1 | The maximum size of log entry body |
Attribute key | 100 bytes | The key of an attribute value |
Attribute value length | 32 kB | The maximum length of an attribute value |
Number of log attributes | 500 | The maximum number of attributes a log can contain |
Log events per minute | No limit | The maximum number of log events in a minute |
Log age | 24 or 72 hours | The maximum age of log entries when ingested |
Logs with future dates | No restriction2 | How far into the future log entries can reach |
Values per attribute | 32 values | The maximum number of individual values an attribute can contain |
Request size 3 | 10 MB | The maximum size of the payload data |
Number of log records | 50,000 records | The maximum number of log records per request |
Nested objects | 5 levels | The maximum number of levels ingested with nested objects |
Extracted log attribute | 4,096 bytes | When logs are added to the event template, log attributes are truncated to 4096 bytes |
The content limit is lower (512 kB) for logs routed to the Classic pipeline. We recommend upgrading to OpenPipeline.
There is no ingestion limitation on log entries with future timestamps, but entries with timestamps further than 10 minutes into the future have their timestamps set to the moment of ingestion.
When it comes to request size, the Log Ingestion API endpoints accept requests up to 10 MB. However, after the initial processing, the batch may grow in size. If it exceeds 16 MB after processing, it will be rejected with the following 413 error: Message size limit exceeded after preprocessing on ingest endpoint. To avoid this issue, ingest smaller batches of log records to stay within the size limits.
A log request may increase in size due to the following reasons:
Check your access to OpenPipeline in Log processing with OpenPipeline.
Logs ingested via OneAgent are typically ready for analysis between a few seconds and 90 seconds (30 seconds on average).
Logs ingested by API are available for analysis in Dynatrace after 10 seconds on average.
Occasionally, a higher latency might occur by data loss prevention mechanisms like retransmissions, buffering, or other factors that can introduce delays.
The following rules apply to all log event sources, such as OneAgent and the generic log ingestion API.
| Log record timestamp | Description |
|---|---|
The current time minus the log age limit (24 or 72 hours) for log records. | The event is dropped if it contains a timestamp older than the configured log age limit. For environments created on or after the release of Dynatrace version 1.348, the default log age limit is 72 hours. For environments created before that release (Dynatrace version 1.347 and earlier), the default log age limit is 24 hours. The limit can be increased to 72 hours on request. Contact Dynatrace Support. The default depends on when the environment was created, not on the version it runs now. To find out which limit applies to your environment, see Check your environment's log age limit. If the record is ingested via the generic Log Ingestion API, it can return the following:
|
The current time minus two hours for log metrics and events. | The data point is dropped if the log metric data point timestamp is before the current time minus two hours. |
Current time plus ten minutes | The time stamp is reset to current time. |
The log age limit is configured per environment and isn't tied to the Dynatrace version that the environment runs. Dynatrace sets the default when it creates an environment, and updating the environment to a newer version doesn't change it. As a result, two environments on the same version can have different log age limits.
Dynatrace doesn't display the log age limit as a setting. To find out which limit applies to your environment, use one of the following checks.
This is the quickest and most reliable check: ingest a single log record with a timestamp that's older than 24 hours but less than 72 hours old, and then read the response code.
Create a platform token with the openpipeline:logs:ingest scope.
If you use a Classic access token with the logs.ingest scope instead, replace Bearer with Api-Token in the Authorization header of the following examples.
Send a test record with a timestamp 30 hours in the past to the Log ingestion API. You can copy the following example for your operating system. Each example sets the timestamp in Unix epoch milliseconds and prints the HTTP status code of the response.
If the record is accepted, it's stored and billed like any other log record. Use a recognizable content value so that you can tell the test record apart from your other logs when you query them.
curl -X POST "https://{your-environment-id}.live.dynatrace.com/api/v2/logs/ingest" \-H "Authorization: Bearer {your-platform-token}" \-H "Content-Type: application/json" \-d "[{\"timestamp\": $(( ($(date +%s) - 30 * 3600) * 1000 )), \"content\": \"Log age limit check\"}]" \-w "\nHTTP status: %{http_code}\n"
Interpret the response.
204 (No Content): the record was accepted, so the log age limit of your environment is 72 hours.400 (Bad Request) with the message All logs are out of correct time range.: the record was dropped with the timestamps_out_of_range drop reason, so the log age limit of your environment is 24 hours.Your environment's default log age limit follows its creation date.
Call Get environment information and read the createTime field of the response.
Compare createTime with the release date of Dynatrace version 1.348, which is 2026-10-15.
createTime on or after 2026-10-15: the default log age limit is 72 hours.createTime before 2026-10-15: the default log age limit is 24 hours. To raise it to 72 hours, contact Dynatrace Support.Because Dynatrace rolls out versions to environments over several days, treat a createTime within a few days of the release date as inconclusive and confirm it with the ingest test.
Number of metrics is limited to:
100,000 (1000 per pipeline x 100 pipelines) for Log Management and Analytics powered by Grail with OpenPipeline1000 for Log Management and Analytics powered by Grail without enabled OpenPipeline50 in other cases.In addition to generic Dynatrace API limitations (Dynatrace API - Access limit) the following log ingestion API specific limits apply:
LogMessageJson JSON object. See Ingest JSON and TXT logs for the complete list of keys and their descriptions.LogMessageOTLP OpenTelemetry Protocol object. See Ingest OTLP logs.Log files in OneAgent:
The default maximum number of log sources per process group instance is 200. This value is configurable via the Maximum number of log sources per process group instance option in Settings > Log Monitoring > Advanced log settings.
In OneAgent version 1.351+, this setting no longer applies. Instead, the following limits apply to automatically detected log sources per process group instance:
pgi.custom_properties_limit self-monitoring event.pgi.lgi_explosion self-monitoring event.Custom log sources do not count toward these limits.
In standard environments, OneAgent log module supports up to 10,000 files in one directory with logs and 200 MB of new log content per minute. If you have more data, especially a higher level of magnitude, there's a high chance that the OneAgent log module supports it. Contact the Dynatrace support team to review your setup beforehand.
In special cases, such as very poor hardware performance, the OneAgent log module's limitations might be more strict.
The following limits are optimized for resilient, large-scale operations. Modifying them requires support consultation and use case analysis.
| Type | Default | Description |
|---|---|---|
Storage capacity | 2 GB | Compressed logs, including metadata. |
Log processing rate | 500 MB/min | Can be increased to 1 GB/min if resources allow. |
Scenarios that are not supported in the rotated log monitoring process include:
| Type | Description |
|---|---|
Rotated log generation with a directory change | The potential consequence is the creation of duplicates and/or incomplete logs. |
Rotated log generation with immediate compression | Supported on Linux with local drives in OneAgent version 1.343+. If rotation happens while the Log module restarts, GZIP-compressed files are read on Windows and Linux in OneAgent version 1.347+, and ZIP-compressed files in OneAgent version 1.349+. In other cases, this process may lead to incomplete log ingestion; keep at least one uncompressed rotated file. |
Rotated log generation with queue logic | The oldest log records are removed whenever new content is added to a file, resulting in a relatively constant log file size. This scenario can be easily replaced with a supported rotation scheme by, for example, starting a new file when the current file reaches a predefined size. |
Be aware of the following limitations to sensitive data masking:
File not monitored - incorrect sensitive data masking rule message.If you are using the SaaS endpoint, you don't have to worry about the ActiveGate throughput. The throughput is the same as for Grail.
If you use an Environment ActiveGate dedicated for log ingestion via the Log Ingestion API, performance tests indicate the following sustained ingestion throughput per Environment ActiveGate instance:
The following test profile was used:
For detailed ActiveGate sizing recommendations based on workload profiles, see:
For guidance on scaling the OpenTelemetry Collector when ingesting logs via OTLP, see How to scale the OTel Collector.