db

Names the MariaDB/MySQL database that receives the log records.

This parameter applies to ommysql: MariaDB/MySQL Database Output Module.

Name:

db

Scope:

input

Type:

word

Default:

input=none

Required?:

yes

Introduced:

at least 7.x, possibly earlier

Description

This is the name of the database on the MariaDB/MySQL server where log records will be inserted.

Input usage

module(load="ommysql")
action(type="ommysql" server="mysqlserver.example.com" db="syslog_db" uid="user" pwd="pwd")

See also

See also ommysql: MariaDB/MySQL 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.