query_logs_custom
Execute a custom log query using LogQL, Datadog, or CloudWatch Insights syntax to fetch Kubernetes log lines from the observability stack within a specified timeframe.
Instructions
Execute a custom log query (LogQL for Loki, Datadog syntax, or CloudWatch Insights).
Args: query: Backend-native query string timeframe_minutes: How many minutes of logs to retrieve (1-1440) limit: Maximum number of log lines (1-500)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| timeframe_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |