create_geoip
Creates a GeoIP context.
Description
The context::create_geoip
operator constructs a new context of type
GeoIP.
You must either provide a database with the db_path
argument or use
context::load
to populate the context after creation.
You can also create a GeoIP context as code by adding it to tenzir.contexts
in
your tenzir.yaml
:
Making changes to arguments
of an already created context has no effect.
name: string
The name of the new GeoIP context.
db_path = string (optional)
The path to the MMDB database, relative to the node's working directory.
Examples
Create a new GeoIP context
Populate a GeoIP context from a remote location
Load CIRCL's Geo Open dataset from November 12, 2024:
See Also
context::create_lookup_table
,
context::create_bloom_filter
,
context::enrich
,
context::erase
,
context::inspect
,
context::list
,
context::load
,
context::remove
,
context::reset
,
context::save
,
context::update
,