db

Names the PostgreSQL database into which rows are inserted when not specified in a connection string.

This parameter applies to PostgreSQL Database Output Module (ompgsql).

Name:

db

Scope:

input

Type:

word

Default:

none

Required?:

no

Introduced:

8.32.0

Description

The multi-tenant database name to INSERT rows into. Required if conninfo is not specified.

Input usage

module(load="ompgsql")
action(type="ompgsql" server="localhost" db="syslog")

See also

See also PostgreSQL Database Output Module (ompgsql).


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.