count_events
Check if any events match specified filters and time window, returning a boolean result for quick event existence verification.
Instructions
Return true/false whether any events match the given filters and time window. server: which configured server to target (default active/default).
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": "count_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | now | |
| start | No | now-24h | |
| server | No | ||
| filters | No | ||
| index_pattern | No | v11-log-* |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |