User

Sets the username used to authenticate to the PostgreSQL server.

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

Name:

User

Scope:

input

Type:

word

Default:

postgres

Required?:

no

Introduced:

8.32.0

Description

The username to connect to the PostgreSQL server with. The name UID is also accepted.

Input usage

module(load="ompgsql")
action(type="ompgsql" server="localhost" user="rsyslog" 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.