This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project,
feel free to reach out to us!This page covers the ports used by Agent 5. For information on the latest version of the Agent, see Send a Flare.
Platform | Command |
---|
Docker | docker exec -it dd-agent /etc/init.d/datadog-agent flare <CASE_ID> |
macOS | datadog-agent flare <CASE_ID> |
CentOS | sudo service datadog-agent flare <CASE_ID> |
Debian | sudo service datadog-agent flare <CASE_ID> |
Kubernetes | kubectl exec <POD_NAME> -it /etc/init.d/datadog-agent flare <CASE_ID> |
Fedora | sudo service datadog-agent flare <CASE_ID> |
Redhat | sudo service datadog-agent flare <CASE_ID> |
SUSE | sudo service datadog-agent flare <CASE_ID> |
Source | sudo ~/.datadog-agent/bin/agent flare <CASE_ID> |
Windows | See the Windows section |
Note: If you are using a Linux based system and the service
wrapper command is not available, consult the list of alternatives.
Windows
To send Datadog support a copy of your Windows logs and configurations, do the following:
Open the Datadog Agent Manager.
Select Actions.
Select Flare.
Enter your ticket number (if you don’t have one, leave the value as zero).
Enter the email address you use to log in to Datadog.
The flare command is available for PowerShell:
& "$env:ProgramFiles\Datadog\Datadog Agent\embedded\python.exe" "$env:ProgramFiles\Datadog\Datadog Agent\agent\agent.py" flare <CASE_ID>
or cmd.exe:
"%ProgramFiles%\Datadog\Datadog Agent\embedded\python.exe" "%ProgramFiles%\Datadog\Datadog Agent\agent\agent.py" flare <CASE_ID>
Flare fails to upload
The output of the flare command tells you where the compressed flare archive is saved. In case the file fails to upload to Datadog, you can retrieve it from this directory and manually add as an attachment to an email. Common locations flare files are stored:
- Linux:
\tmp\
- MacOS:
$TMPDIR
- Windows:
C:\Users\<DDAGENTUSER>\AppData\Local\Temp\
For older Agent versions on Windows, you can find the location of this file by running the following from the Agent’s Python command prompt:
Step 1:
Step 2:
import tempfile
print tempfile.gettempdir()
Example:
For information on the latest version of the Agent, consult the Windows documentation.