malcolm_aggregate
Aggregate network traffic by one or more fields to return top-N bucket counts. Multi-level aggregation with filters and time range.
Instructions
Aggregate network traffic by one or more fields.
Returns bucket counts (top-N values) for the requested fields. For multi-level aggregation, pass comma-separated fields.
Args: fields: Comma-separated field names to aggregate on. e.g. "network.protocol" e.g. "source.ip,destination.ip,network.protocol" e.g. "suricata.alert.signature,suricata.alert.severity" filters: JSON filter object (Malcolm filter syntax). limit: Maximum buckets per aggregation level (1-500). time_from: Start time (dateparser format). time_to: End time (default: now).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| fields | Yes | ||
| filters | No | {} | |
| time_to | No | ||
| time_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |