Search Transactions
search_transactionsSearch transactions in a time range to find slow or error cases. Filter by service, IP, or login; results sorted by elapsed time for diagnosis.
Instructions
Search for transactions (XLogs) within a time range. Find slow transactions, error transactions, or filter by service name/IP/login. Returns list sorted by elapsed time descending with summary statistics. Primary tool for 'why is it slow?' investigations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | Client IP filter | |
| date | No | Date in YYYYMMDD format. Defaults to today. | |
| login | No | Login ID filter | |
| service | No | Service name pattern filter (partial match) | |
| end_time | No | End time. Defaults to now. | |
| max_count | No | Max transactions to return (max 500) | |
| obj_hashes | No | Comma-separated object hashes | |
| start_time | No | Start time (ISO, HHmmss, or epoch ms). Defaults to 10 minutes ago. |