search_logs
Search Datadog logs by filter query and time range, returning matching entries to debug issues and analyze application behavior.
Instructions
Search Datadog logs with filters and a time range. Returns log entries matching the query, useful for debugging and log analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End time as Unix timestamp (seconds/ms) or ISO 8601 string (must be after 'from') | |
| from | Yes | Start time as Unix timestamp (seconds/ms) or ISO 8601 string | |
| limit | No | Maximum number of logs to return (default: 100, max: 100) | |
| filter | Yes | Log filter query (e.g., "service:api status:error", "host:prod-*"). Use Datadog query syntax. |