get_logs
Search and retrieve Datadog logs within a specified time range using a query string, with an optional limit on results. Use it to investigate incidents and monitor application events.
Instructions
Search and retrieve logs from Datadog
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"to": "<to>"
},
"name": "get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End time in epoch seconds | |
| from | Yes | Start time in epoch seconds | |
| limit | No | Maximum number of logs to return. Default is 100. | |
| query | No | Datadog logs query string |