Get Datadog Logs by Trace ID
dd_log_getRetrieve all Datadog logs associated with a specific trace_id. Use this when you have a trace_id from a log in dd_logs_search results and want the full distributed trace context (all services involved, timeline of spans/logs). Returns logs sorted by timestamp descending. Pair with dd_logs_search to first find the trace_id, then use this tool for deep trace investigation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Fin del rango. Default: now | |
| from | No | Inicio del rango (e.g.: now-1h, now-6h). Default: now-1h | |
| traceId | Yes | El trace_id (e.g.: "17402851653418008602") obtenido del campo attributes.attributes.dd.trace_id o dd.trace_id de un log de dd_logs_search | |
| context_id | No | Optional explicit Connection Hub work context (ctx_*). Omit to use the conversation's active workspace; global Hub tools ignore it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| contractVersion | Yes | ||
| dataSchemaVersion | Yes |