rule_timeline
Visualize the time distribution of matching Wazuh alerts with date histograms, so you can check when a rule fires before interpreting its overall volume.
Instructions
Time distribution (date_histogram) of matching alerts. Use it BEFORE interpreting a rule's volume.
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": "rule_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End: ISO-8601 or now. Default now | |
| env | No | environment id (list_environments) | |
| from | No | Start: ISO-8601 or OpenSearch date math (now-24h). Default now-24h | |
| agent | No | Agent name (agent.name) filter | |
| query | No | Optional Lucene query_string, e.g. data.srcip:192.0.2.10 AND rule.groups:sshd | |
| interval | No | 10m, 1h, 1d | |
| rule_ids | No | Rule ID filter | |
| min_level | No | Minimum rule.level |