malcolm_search
Search network traffic documents indexed in Malcolm using simple JSON filters. Specify time range and result limit with dateparser-compatible times.
Instructions
Search Malcolm indexed network traffic documents.
Uses Malcolm's simple filter syntax (NOT OpenSearch DSL).
Filter examples: {"event.dataset": "conn"} -- Zeek conn logs {"source.ip": "192.0.2.77"} -- by source IP {"event.dataset": "dns", "zeek.dns.query": "example.com"} {"!network.transport": "icmp"} -- exclude ICMP {"network.direction": ["inbound", "outbound"]} -- OR match {"!related.password": null} -- field must exist
Args: filters: JSON filter object (Malcolm filter syntax). limit: Maximum documents to return (1-500). time_from: Start time (dateparser format, e.g. "2024-01-01", "7 days ago"). time_to: End time (default: now).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| filters | No | {} | |
| time_to | No | ||
| time_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |