Server

Specifies the hostname or address of the database server to connect to.

This parameter applies to omlibdbi: Generic Database Output Module.

Name:

Server

Scope:

input

Type:

word

Default:

input=none

Required?:

yes

Introduced:

Not documented

Description

Use this to point omlibdbi at the host that runs the selected database engine. Combine it with the driver, credentials, and database name to form the full connection information.

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.

  • $ActionLibdbiHost — maps to Server (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.