reloadonhup

Controls whether mmdblookup reopens the MaxMind database after a HUP signal.

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

Name:

reloadonhup

Scope:

input

Type:

boolean

Default:

on

Required?:

no

Introduced:

8.24.0

Description

When this setting is on, the action closes and reopens the configured MaxMind DB file whenever rsyslog receives a HUP signal. This lets updated GeoIP data become effective without restarting the daemon. Set it to off if you prefer to keep the currently loaded database until the action is restarted manually.

Input usage

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

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.