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.
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 |