malcolm_field_values
List distinct values and counts for any field to verify real data values before building filters, preventing hallucination.
Instructions
List distinct values for a field with document counts.
Use this to discover what values a field actually contains BEFORE using it in a filter. Prevents value hallucination.
Examples: field="event.dataset" -> ["conn", "dns", "ssl", "http", "alert", ...] field="network.protocol" -> ["tcp", "udp", "icmp", ...] field="suricata.alert.severity" -> [1, 2, 3] field="event.severity_tags" -> ["Informational", "Warning", ...]
Args: field: The field to enumerate values for. limit: Maximum number of distinct values to return. filters: Optional JSON filter to scope the enumeration. time_from: Start time. time_to: End time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| limit | No | ||
| filters | No | {} | |
| time_to | No | ||
| time_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |