Port¶
Sets the TCP port of the PostgreSQL server.
This parameter applies to PostgreSQL Database Output Module (ompgsql).
- Name:
Port
- Scope:
input
- Type:
integer
- Default:
5432
- Required?:
no
- Introduced:
8.32.0
Description¶
The IP port of the PostgreSQL server. The name serverport is also accepted.
Input usage¶
module(load="ompgsql")
action(type="ompgsql" server="localhost" port="5432" 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.