Log Management and Analytics default limits

  • Latest Dynatrace
  • Explanation
  • 3-min read

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.

Log ingestion limits

The table below summarizes the most important default limits related to log ingest. All presented limits refer to UTF-8 encoded data.

TypeLimitDescription
Content10 MB1The maximum size of log entry body
Attribute key100 bytesThe key of an attribute value
Attribute value length32 kBThe maximum length of an attribute value
Number of log attributes500The maximum number of attributes a log can contain
Log events per minuteNo limitThe maximum number of log events in a minute
Log age24 hoursThe maximum age of log entries when ingested
Logs with future datesNo restriction2How far into the future log entries can reach
Values per attribute32 valuesThe maximum number of individual values an attribute can contain
Request size 310 MBThe maximum size of the payload data
Number of log records50,000 recordsThe maximum number of log records per request
Nested objects5 levelsThe maximum number of levels ingested with nested objects
Extracted log attribute4,096 bytesWhen logs are added to the event template, log attributes are truncated to 4096 bytes
1

The content limit is lower (512 kB) for logs routed to the Classic pipeline.

2

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.

3

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:

  • Missing content attributes in ingested log records: If a log ingested through the Log Ingestion API endpoint does not have a content-like attribute, this attribute will be added after ingestion.
  • For logs ingested via the OTLP endpoint, resource and scope attributes are copied to each individual log record.

Check your access to OpenPipeline in Log processing with OpenPipeline.

Log ingestion latency

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.

Log record accepted time range

The following rules apply to all log event sources, such as OneAgent and the generic log ingestion API.

Log metrics

Number of metrics is limited to:

  • 100,000 (1000 per pipeline x 100 pipelines) for Log Management and Analytics powered by Grail with OpenPipeline
  • 1000 for Log Management and Analytics powered by Grail without enabled OpenPipeline
  • 50 in other cases.

Log ingestion API request objects

In addition to generic Dynatrace API limitations (Dynatrace API - Access limit) the following log ingestion API specific limits apply:

Limits for your log autodiscovery when using OneAgent

Log files in OneAgent:

  • cannot be deleted earlier than a minute after creation.
  • must be appended (old content is not updated).
  • must have text content.
  • must be opened constantly (not just for short periods of adding log entries).
  • must be opened in write mode.
  • must not be smaller than the configured size threshold (default: 500 bytes) to be checked for binary content.

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 Settings > Log Monitoring > Advanced log settings.

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.

Log rotation limits

Scenarios that are not supported in the rotated log monitoring process include:

Sensitive data masking limits

Be aware of the following limitations to sensitive data masking:

  • If the masking process takes too much time, the log file affected is blocked until the restart of OneAgent or any configuration change, and then you get the File not monitored - incorrect sensitive data masking rule message.

ActiveGate throughput

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:

  • Up to 10.3 GB/min under typical WAN conditions (round-trip time of up to roughly 200 ms)
  • Up to 12.1 GB/min under low-latency conditions (RTT ≤ 10 ms)

The following test profile was used:

  • Host instance: c6i.2xlarge
  • JSON payloads of approximately 300 kB per request, each containing 300 log lines, sent via the Log Ingestion API
Related tags
Log Analytics