search_service_logs
Search logs for a specific service, filtering by log level, keyword, and time range to pinpoint issues.
Instructions
Search Observe logs for a specific service. Convenience wrapper around OPAL.
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": {
"service": "<service>"
},
"name": "search_service_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Filter by log level | |
| limit | No | Max rows (default 100) | |
| keyword | No | Keyword to filter log messages | |
| service | Yes | Service name, e.g. 'api-server' | |
| hours_ago | No | How many hours back to search (default 1) | |
| dataset_path | No | Observe dataset path. Falls back to OBSERVE_DEFAULT_DATASET env var. |