Lookups¶
A lookup is a CSV table keyed by one column whose other columns a search can add to events: owners of IP ranges, asset names, allowlists. Manage them under Settings > Log processing > Lookups.
- Upload a CSV with a header row (UTF-8, up to 100,000 rows and 20 MB). The preview infers column types (text, number, IP, boolean); pick the key column. Later uploads replace or append rows.
- Builtin lookups:
tor_exit_nodes,cloud_provider_ranges,country_codesandhttp_status_classes. - Use them in DQL:
| lookup <name> <field> [as <column>] [OUTPUT col [as name], ...]. WithoutOUTPUTevery other column is added. It works on events and afterstats(cheaper), in Search, dashboards, reports and detection rules.
source=nginx* | stats count by src_ip | lookup tor_exit_nodes src_ip OUTPUT is_tor | where is_tor = true
Lookups belong to the Data sources & parsers area: Read-Write changes them.