DB

Names the database schema that omlibdbi writes to.

This parameter applies to omlibdbi: Generic Database Output Module.

Name:

DB

Scope:

input

Type:

word

Default:

input=none

Required?:

yes

Introduced:

Not documented

Description

Set this to the database instance that should receive the syslog events. It must exist on the selected server and accept the credentials supplied via UID and PWD.

Input usage

action(type="omlibdbi" driver="mysql" server="db.example.net" \
       uid="dbwriter" pwd="sup3rSecret" db="syslog")

Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

  • $ActionLibdbiDBName — maps to DB (status: legacy)

See also

See also omlibdbi: Generic Database Output Module.


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.