Free plan available. Set up in minutes with the collectors you already use. Start free
Logthread

Guide

Enrichment: location, network owner, threat intel and lookup tables

Enrichment adds context to your log records as they arrive, so search, facets, Every dimension, Situations, detections and dashboards can use it with nothing else to set up:

  • Location and network owner (GeoIP). The country, region, city and network owner (AS number and organisation) of the client address.
  • Threat intel. A flag when an address is on an open threat feed: known botnet command servers and Tor exits.
  • Lookup tables. Your own CSV, such as user → team, IP → office or error code → meaning, matched against a field.

Open it from Data in → Enrichment. Everyone can see the settings; owners and admins change them.

Enrichment applies to records that arrive after you turn it on. Records already stored are not changed.

Location and network owner (GeoIP)#

Set up shows which of your fields held IP addresses in the last hour (for example source.address, client.ip or a field of your own), how many records hold one, and what sample addresses resolve to. Choose the fields in order and Activate. For each record, the first chosen field that holds a public address the databases know is used (an unknown address falls through to the next field); private, loopback, link-local, carrier-grade NAT and documentation addresses are skipped. A value with a port (203.0.113.9:443) works too.

Behind a proxy or load balancer. The address that connected to your server (remote_addr, source.address or client.address) decides which field is trusted, as nginx's real_ip does:

  • If it is a public address that is not a proxy's, your server was reached directly, so that address is the client. Any other address field on the record, such as an X-Forwarded-For header or a field you extracted, was written by the sender and is ignored. Its position in your list does not change this.
  • If it is private (your load balancer or ingress) or a CDN edge (Cloudflare or Amazon CloudFront), the other fields were written by your proxies. A forwarded-for list (a, b, c) is read from the right, skipping private addresses and CDN edge addresses, and the first address left is the client. logthread.client.hops says how many proxies were in between.
  • A record with no connecting-address field uses a single address as it is; a list is not used, because nothing shows a proxy wrote it.

A CDN edge address is never shown as the client. Cloudflare's and CloudFront's published edge ranges are refreshed daily; a CloudFront edge is marked as a proxy even though AWS also lists it among its cloud ranges. When it is the only public address on a record, the record is marked logthread.network.type:proxy and logthread.network.ip holds that address.

FieldExample
logthread.geo.ip49.36.1.9 (the address that was looked up)
logthread.geo.fieldclient.ip (the field it came from)
logthread.geo.country_codeIN
logthread.geo.countryIndia
logthread.geo.regionMaharashtra
logthread.geo.cityMumbai
logthread.geo.lat, logthread.geo.lon19.0728, 72.8826 (approximate: city level)
logthread.asn.number55836
logthread.asn.orgReliance Jio Infocomm Limited

Search them like any field: logthread.geo.country_code:IN, -logthread.geo.country_code:(IN OR US), or | stats count() by logthread.asn.org.

If your address field has another name, add it in the setup (up to 16 fields), or rename it with a pipeline.

IP geolocation by DB-IP. The location and network data is the DB-IP City Lite and ASN Lite databases (licensed under CC BY 4.0), updated monthly. Logthread looks addresses up on its own servers; no data is sent to DB-IP. Locations are approximate, and an address can be missing or wrong, especially for mobile and cloud networks.

GeoIP is free on every plan.

Threat intel#

Turn on Threat intel and every chosen IP field is checked, on each record, against these feeds:

FeedWhat it listsCategoryRefreshed
abuse.ch Feodo Trackerbotnet command-and-control serversbotnet_c2every hour
Tor ProjectTor exit addressestor_exitevery 6 hours

A match sets logthread.threat.matched (true), logthread.threat.category, logthread.threat.feed, logthread.threat.indicator (the address) and logthread.threat.field.

  • The detection Traffic with a known botnet command server (SIEM → Detections) opens an incident for each address on the botnet list seen in your logs, and its incidents reach your channels and Situations like every detection.
  • Tor exits are not a detection, because much Tor traffic is legitimate: filter on logthread.threat.category:tor_exit or chart it.

Only feeds whose terms allow use in a commercial product are used, so they are free on every plan. The page shows each feed's version, size and when it was last checked.

Lookup tables#

A lookup table is a CSV with a header row. One column is the key; when a record's field equals a key, each other column is added as logthread.lookup.<table>.<column>.

user,team,owner
alice@example.com,payments,Pat
bob@example.com,search,Lee
  1. Upload. Upload CSV, give the table a name (teams: lowercase letters, digits and _) and choose the key column. Headers are lowercased, and other characters become _. Empty keys are skipped; for a repeated key the first row is kept; the result says how many.
  2. Choose the field. The fields whose values match the most keys in your last hour are suggested, with how many match. You can type any field. Ignore case matches ALICE@example.com to alice@example.com.
  3. Preview. How many records in the last hour have the field, how many match a key, sample matches with the columns they would get, and the most common values that do not match.
  4. Attach. Matching records get the columns as they arrive, here logthread.lookup.teams.team and logthread.lookup.teams.owner.

An uploaded table that is not attached shows Not active: not attached → Attach on the page and on Home. ⋮ → Replace CSV swaps the rows and keeps the attachment; Detach stops matching; Delete removes the table.

Limits: 3 tables per workspace, each up to 10 MB, 200,000 rows and 21 columns, values up to 256 characters.

From AI agents#

enrichment_status (MCP) returns the GeoIP and threat intel settings, each feed's version and the lookup tables with their state. See MCP.

Coming later#

An Enrichment add-on with commercial GeoIP accuracy, licensed threat feeds (domain and IP reputation) and up to 20 lookup tables is on the roadmap.