Conninfo¶
Defines PostgreSQL connection information as a URI or key-value pairs, taking precedence over server, port, db, and pass parameters.
This parameter applies to PostgreSQL Database Output Module (ompgsql).
- Name:
Conninfo
- Scope:
input
- Type:
word
- Default:
none
- Required?:
no
- Introduced:
8.32.0
Description¶
The URI or set of key-value pairs that describe how to connect to the PostgreSQL server. This takes precedence over server, port, db, and pass parameters. Required if server and db are not specified.
The format corresponds to standard PostgreSQL connection string format.
Input usage¶
module(load="ompgsql")
action(type="ompgsql" conninfo="postgresql://rsyslog:test1234@localhost/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.