You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/logs/log_collection/_index.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,19 @@ To learn how to submit logs from your custom Agent check, see [Agent Integration
142
142
{{% /tab %}}
143
143
{{< /tabs >}}
144
144
145
+
### Limitations
146
+
147
+
* A log event should not have more than 100 tags, and each tag should not exceed 256 characters for a maximum of 10 million unique tags per day.
148
+
* A log event converted to JSON format should contain less than 2048 attributes. Each of those attribute's keys should be less than 50 characters, nested in less than 20 successive levels, and their respective value should be less than 1024 characters if promoted as a facet.
149
+
* Only log events with a [timestamp][14] up to 18h in the past can be submitted.
150
+
* <b>Preview available</b>: To submit logs from up to 7 days in the past, <ahref="https://www.datadoghq.com/product-preview/ingest-logs-up-to-7-days-old/">register for the Preview</a>.
151
+
* Log collection does not retain attributes with null values.
152
+
* <b>Preview available</b>: To retain attributes with null values, <ahref="https://www.datadoghq.com/product-preview/retain-attributes-with-null-values/">register for the Preview</a>.
153
+
154
+
Log events that do not comply with these limits might be transformed or truncated by the system or not indexed if outside the provided time range. However, Datadog tries to preserve as much user data as possible.
155
+
156
+
There is an additional truncation in fields that applies only to indexed logs: the value is truncated to 75 KiB for the message field and 25 KiB for non-message fields. Datadog still stores the full text, and it remains visible in regular list queries in the Logs Explorer. However, the truncated version will be displayed when performing a grouped query, such as when grouping logs by that truncated field or performing similar operations that display that specific field.
157
+
145
158
## Additional configuration options
146
159
147
160
### Logging endpoints
@@ -165,21 +178,10 @@ Any custom process or logging library able to forward logs through HTTP can be u
165
178
166
179
You can send logs to Datadog platform over HTTP. Refer to the [Datadog Log HTTP API documentation][15] to get started.
167
180
168
-
**Notes**:
169
-
170
-
* The HTTPS API supports logs of sizes up to 1MB. However, for optimal performance, it is recommended that an individual log be no greater than 25K bytes. If you use the Datadog Agent for logging, it is configured to split a log at 900kB (900000 bytes).
171
-
* A log event should not have more than 100 tags, and each tag should not exceed 256 characters for a maximum of 10 million unique tags per day.
172
-
* A log event converted to JSON format should contain less than 2048 attributes. Each of those attribute's keys should be less than 50 characters, nested in less than 20 successive levels, and their respective value should be less than 1024 characters if promoted as a facet.
173
-
* Log events can be submitted with a [timestamp][14] that is up to 18h in the past.
174
-
175
181
<divclass="alert alert-info">
176
-
<b>Preview available</b>: You can submit logs from the past 7 days, instead of the current 18-hour limit. <ahref="https://www.datadoghq.com/product-preview/ingest-logs-up-to-7-days-old/">Register for the Preview</a>.
182
+
The HTTPS API supports logs of sizes up to 1MB. However, for optimal performance, Datadog recommends that an individual log be no greater than 25 KB (25,000 bytes). If you use the Datadog Agent for logging, it is configured to split a log at 900 KB (900,000 bytes).
177
183
</div>
178
184
179
-
Log events that do not comply with these limits might be transformed or truncated by the system or not indexed if outside the provided time range. However, Datadog tries to preserve as much user data as possible.
180
-
181
-
There is an additional truncation in fields that applies only to indexed logs: the value is truncated to 75 KiB for the message field and 25 KiB for non-message fields. Datadog still stores the full text, and it remains visible in regular list queries in the Logs Explorer. However, the truncated version will be displayed when performing a grouped query, such as when grouping logs by that truncated field or performing similar operations that display that specific field.
0 commit comments