Flare

A Flare is diagnostic information that bundles the Datadog Agent's configuration files and logs into a single archive to be sent to Datadog support. Sensitive information such as passwords and API keys is removed at generation time, and you can inspect the contents before uploading.

Overview

A Flare is an archive that gathers the Datadog Agent's configuration files and logs, and is the diagnostic information the support team uses to isolate a problem. There are three ways to send one: running the flare command on the Agent's host and uploading directly, sending remotely from the Fleet Automation screen, and handing over the generated zip by hand. Passwords, API keys, proxy credentials, and SNMP community strings are removed at generation time, and you are asked to confirm before uploading. You care about this when support asks you to "send a flare", and when you want to gather the materials before investigating an Agent malfunction yourself.

The Agent diagnostic archive you hand to support

A Flare is diagnostic information that collects the Datadog Agent's configuration files and logs into a single archive to be sent to Datadog support. The official documentation describes the flare as a means of collecting all of the Agent's configuration files and logs into an archive and sending the support team the troubleshooting information it needs. If APM is enabled, the tracer's debug logs are also included when they can be obtained (as of September 2026; Source: Agent Flare). The reason you are asked to "send a flare" when you contact support is that it lets the engineer see the environment's configuration and the Agent's internal logs at the same time. A single flare cuts down more back-and-forth than a one-line "the Agent is not working".

Three routes for creating and sending one

There are three ways to send one, and you choose based on whether you can touch the Agent directly (as of September 2026; Source: Agent Flare).

Three routes for sending a flare
RouteWhat you doPrerequisite
The flare subcommandRun agent flare <CASE_ID> on the Agent's host or container, enter your email address, and confirm the uploadYou can log in to the Agent's host
The Fleet Automation screenSelect the Agent in the Datadog UI and click Send Support Ticket under SupportFleet Automation and Remote Configuration are enabled on that Agent
Manual submissionRetrieve the zip generated in the local /tmp and hand it to supportThere is a problem with the connection from the Agent to Datadog
Source: Datadog official documentation Agent Flare (as of September 2026)

The actual command varies by environment. On the Linux distributions it is sudo datadog-agent flare <CASE_ID>; on Kubernetes you run it against the Agent's Pod via kubectl exec. The Cluster Agent has a separate command, datadog-cluster-agent flare, and in setups where the Agent and the trace-agent are split into separate containers, you collect one per container.

Does the content include secrets?

When creating a flare, the Agent removes sensitive information such as passwords, API keys, proxy credentials, and SNMP community strings. Because the Agent is open source, what is collected and what is removed can be verified in pkg/flare in the repository. Furthermore, because you are asked to confirm before uploading, you can also open the generated zip first, look at the contents, and then send it (as of September 2026; Source: Agent Flare). What you want to hold on to is the scope of "removed". What the official documentation lists are types of keys and credentials, and it does not say that other content is erased. In organizations that require an inspection before external submission, it is reassuring to adopt the practice of pausing once at the confirmation prompt and opening the zip in /tmp. As stated above, the api_key in datadog.yaml is not included; the handling of the key itself is covered in the API Key entry.

Cut down the back-and-forth with a case number and Debug mode

The destination is a support case. Put an existing case number in the command's <CASE_ID>, then enter your email address. If you do not have a number, entering your login email address creates a new case. It is the same from Fleet Automation: enter a Zendesk ticket number, or leave it blank and one is created instead (as of September 2026; Source: Agent Flare). The remote-send screen has a Debug mode toggle, which creates the flare with the log level raised and restores it after sending. To get the same effect on the host, set log_level in datadog.yaml to DEBUG, restart the Agent, wait a few minutes, and then create the flare. Because DEBUG increases the logs that get indexed, the official documentation recommends limiting the period and returning to INFO when finished (as of September 2026; Source: Agent Debug Mode).

Two things to look at yourself before sending

There are two pieces of information you can look at yourself before sending. The first is the output of agent status, where the run count and errors of each check are laid out. It is the material for seeing the Agent's current state before creating a flare. How to read it is in the Agent explainer. The second is the state of Remote Configuration. Remote flares are limited to Agents with Fleet Automation and Remote Configuration enabled. If they are enabled, the support side may also trigger a flare for their investigation (as of September 2026; Source: Agent Flare). The scope of remote operations and the supported versions are organized in the Fleet Automation and Remote Configuration entries. A flare is not a tool only for when support asks for one. When you chase an Agent malfunction yourself too, having a zip that bundles the configuration and logs saves you from wondering which files to go and look at.

Share