Profile field by dataset
malcolm_field_profileIdentify which event.dataset types contain a field, with document counts, to know where the field lives before scoping a query.
Instructions
Show which event.dataset types actually contain a given field, with doc counts.
Use this to learn where a field lives (e.g. whether it only appears in SSL or DNS
records) before scoping a query. To confirm the field NAME first, use
malcolm_field_search; to list its distinct VALUES, use malcolm_field_values.
Behavior: first resolves the name against the index mapping, then aggregates over
event.dataset. Three distinct text outcomes — (1) unknown field → a "not found"
message with close-name suggestions (no profile); (2) known field but no matching
documents in the time window → an "exists but no documents" message; (3) a
per-dataset "event.dataset=<name> (N docs)" list. The dataset counts honor the
time window: with no range it uses the last 24 hours, so a field that only has
old data can resolve as known yet profile as empty — pass time_from/time_to to
reach historical data. Returns plain text, not JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Field name to profile across datasets, e.g. "zeek.ssl.server_name" (only present in SSL records). | |
| time_to | No | End time, dateparser format. Empty = now. | |
| time_from | No | Start time, dateparser format. Empty = the last 24 hours; pass a range for historical data. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |