search_events
Filter and retrieve events from SEQ logs using query parameters, date ranges, and log levels for efficient log analysis and debugging.
Instructions
Search for events in SEQ logs with powerful filtering
Input Schema
Name | Required | Description | Default |
---|---|---|---|
count | No | ||
fromDate | No | ||
level | No | ||
query | No | ||
toDate | No |
Input Schema (JSON Schema)
{
"properties": {
"count": {
"_def": {
"description": "Number of events to return",
"innerType": {
"_def": {
"checks": [
{
"inclusive": true,
"kind": "min",
"value": 1
},
{
"inclusive": true,
"kind": "max",
"value": 1000
}
],
"coerce": false,
"typeName": "ZodNumber"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodDefault"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"fromDate": {
"_def": {
"description": "Start date in ISO format",
"innerType": {
"_def": {
"checks": [],
"coerce": false,
"typeName": "ZodString"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodOptional"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"level": {
"_def": {
"description": "Filter by log level",
"innerType": {
"_def": {
"typeName": "ZodEnum",
"values": [
"Verbose",
"Debug",
"Information",
"Warning",
"Error",
"Fatal"
]
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodOptional"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"query": {
"_def": {
"description": "SEQ query filter (e.g., \"Level = 'Error'\" or \"@Message like '%failed%'\")",
"innerType": {
"_def": {
"checks": [],
"coerce": false,
"typeName": "ZodString"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodOptional"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"toDate": {
"_def": {
"description": "End date in ISO format",
"innerType": {
"_def": {
"checks": [],
"coerce": false,
"typeName": "ZodString"
},
"~standard": {
"vendor": "zod",
"version": 1
}
},
"typeName": "ZodOptional"
},
"~standard": {
"vendor": "zod",
"version": 1
}
}
},
"required": [],
"type": "object"
}