Sumo Logic Log Search
sumo_search_logsSearch Sumo Logic logs with a query. Specify a time range or lastMinutes to return raw messages and aggregate records within the window.
Instructions
Run a Sumo Logic log query. Provide either startTime+endTime or lastMinutes, but not both. Defaults to the last 15 minutes.
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": {
"query": "<query>"
},
"name": "sumo_search_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| query | Yes | Sumo Logic search query | |
| endTime | No | End time in ISO-8601 format (UTC) | |
| startTime | No | Start time in ISO-8601 format (UTC) | |
| lastMinutes | No | Search the last N minutes (alternative to startTime/endTime) | |
| includeRecords | No | Include aggregate records in results | |
| includeMessages | No | Include raw log messages in results |