Log Forwarding
Log Forwarding is a feature that sends logs ingested into Datadog and shaped by pipelines to destinations outside Datadog, such as Splunk, Elasticsearch, and HTTP endpoints. The logs to send are selected with a search query, regardless of whether they were indexed.
Overview
After collecting and shaping logs in Datadog, there are situations where you also want to hand the same logs to a SIEM or search platform used by another team. Log Forwarding is the mechanism that performs that handoff from the Datadog side. The times to care about it are when, in an organization whose security department views logs in a different tool, you do not want to duplicate the collection path, and when you want to know what happens to logs while the destination is temporarily down. It differs in both direction and role from the similarly named Datadog Forwarder and from archives, so confusing them leads to design mistakes.
A feature that hands logs to the outside after ingestion
Log Forwarding is a feature that sends logs ingested into Log Management from Datadog to destinations such as Splunk, Elasticsearch, and HTTP endpoints. The official documentation describes it as a flow that sends logs, processed and given a consistent shape in a Log Pipeline, to each team's tools (as of October 2026; Source: Forwarding Logs to Custom Destinations). What can be sent are ingested logs, not limited to those that were indexed. Logs are sent in JSON format and, by default, compressed with GZIP. Creating and editing destinations requires the logs_write_forwarding_rules permission.
Tell mechanisms named "forwarding" apart by direction
Datadog has several mechanisms that could be translated as "forwarding" or "sending," and they can be distinguished by the direction in which logs flow and the place where the processing runs. The direction of Log Forwarding is the opposite of the Datadog Forwarder, which works as an entry point for ingestion. If you want to route logs to destinations within your own environment before ingestion, that is the domain of Observability Pipelines, and Log Forwarding handles the branching after logs reach Datadog. The settings screen is on the same Log Archiving & Forwarding page as Log Archive, but an archive is a destination for storage, while Log Forwarding is a destination for use in another tool.
Destination types, and the query that decides the scope of what is sent
The destination types are HTTP, Splunk, Elasticsearch, Microsoft Sentinel, and Google SecOps (Chronicle). HTTP, Splunk, and Elasticsearch endpoints must begin with https:// (as of October 2026; Source: Forwarding Logs to Custom Destinations). For Splunk, enter the HEC token and keep indexer acknowledgment disabled. /services/collector/event is automatically appended to the end of the endpoint. The logs to send are narrowed with a search query for each destination, using the same syntax as Log Explorer, such as service: and source:. On the receiving side, the documentation also guides you through adding Datadog's webhook IP ranges to an allowlist.
What happens to logs while the destination is down?
When sending fails, Datadog retries for 2 hours while extending the interval exponentially. The first retry is after 1 minute, and the interval grows to 8 to 12 minutes (as of October 2026; Source: Forwarding Logs to Custom Destinations). Logs that were sent and logs that were dropped appear in two metrics, datadog.forwarding.logs.bytes and datadog.forwarding.logs.count. Logs sent after retries are also counted on the sent side. On the Log Forwarding page, hovering over the status of a destination shows the percentage of logs that matched the filter and were sent in the last hour.
What to sort out first when you get a request to send logs outside
When asked to also hand logs to another tool, first distinguish whether the requester wants to split those logs before they enter Datadog, or whether passing a copy after they enter is enough.
| Mechanism | Direction of logs | Where it runs |
|---|---|---|
| Log Forwarding | From Datadog to external tools | Inside Datadog (after ingestion) |
| Datadog Forwarder | From AWS to Datadog | A Lambda function in your own AWS account |
| Observability Pipelines | From your own environment to each destination | Your own environment (before reaching Datadog) |
| Log Archive | From Datadog to your own storage | Inside Datadog (for long-term storage) |
For the former, Observability Pipelines is the candidate; for the latter, Log Forwarding; and if storage is the only purpose, an archive is enough. If you choose Log Forwarding, and from here on this is the author's suggestion, you can avoid sending too much by first running the search query you plan to put in the destination in Log Explorer, and saving the destination only after checking that the matching logs fall within the range you want to hand over.