mmdbfile

Specifies the path to the MaxMind DB file used for lookups.

This parameter applies to MaxMind/GeoIP DB lookup (mmdblookup).

Name:

mmdbfile

Scope:

input

Type:

string (word)

Default:

none

Required?:

yes

Introduced:

8.24.0

Description

This parameter specifies the full path to the MaxMind DB file (for example, /etc/rsyslog.d/GeoLite2-City.mmdb) to be used for IP lookups.

Input usage

action(type="mmdblookup"
       key="!clientip"
       mmdbFile="/etc/rsyslog.d/GeoLite2-City.mmdb"
       fields=["!continent!code", "!location"])

See also

See also MaxMind/GeoIP DB lookup (mmdblookup).


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.