search_logs
Search historical VPS logs by query, level, and time range to find errors, warnings, or specific patterns for troubleshooting.
Instructions
Search through historical logs with filters. Find errors, warnings, or specific patterns.
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": {
"projectId": "<projectId>",
"instanceName": "<instanceName>",
"query": "<query>"
},
"name": "search_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Log level filter | |
| limit | No | Max results | |
| query | Yes | Search query (regex supported) | |
| endTime | No | End time (ISO 8601) | |
| projectId | Yes | Google Cloud project ID | |
| startTime | No | Start time (ISO 8601) | |
| instanceName | Yes | VPS instance name |