UID

Defines the user name that omlibdbi uses when authenticating to the database.

This parameter applies to omlibdbi: Generic Database Output Module.

Name:

UID

Scope:

input

Type:

word

Default:

input=none

Required?:

yes

Introduced:

Not documented

Description

Provide the account that has permission to write into the target database. Combine this with PWD to supply the password.

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.

  • $ActionLibdbiUserName — maps to UID (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.