Configuring Remote Log Forwarding (Syslog)
How to configure VergeOS to forward system logs to a remote syslog server for centralized log management, archival, and compliance.
VergeOS can be configured to forward logs to a remote Syslog server, an important capability for organizations leveraging log aggregation for centralized management, log archival, and compliance.
Prerequisites
Network connectivity between VergeOS and the remote syslog server
Appropriate firewall rules to allow syslog traffic (typically port 514)
Access to VergeOS System Settings
Configuration Steps
To configure log forwarding to a remote syslog server:
1. Navigate to Advanced Settings
Navigate to System > Settings > Advanced Settings.
2. Configure the Remote Syslog Server
Under the "Setting" column heading, type
syslogand press Enter to searchSelect and edit Remote syslog server (tcp: @@name/ip:port, udp: @name/ip:port)
Configure this setting according to the syntax expected by your remote server:
Click Submit at the bottom of the page to save
3. Configure the Format Template
Search for
syslogagain in the settingsSelect and edit Template to define for syslog server (See rsyslog for format)
Enter a syslog template format that is compatible with your remote syslog server
Click Submit at the bottom of the page to save the format
Collector Notes
The RFC 5424 template above works with common collectors:
Graylog
Use a Syslog TCP or Syslog UDP input.
Loki
Use a Promtail syslog scrape job; Promtail requires strict RFC 5424 (the literal 1 version).
Splunk
Use a TCP or UDP data input, or Splunk Connect for Syslog.
Elasticsearch
Ingest through Logstash with the syslog input plugin.
rsyslog relay
Use a standard imtcp or imudp listener.
Additional Resources
For more information on syslog templates and formatting options, visit the Rsyslog Documentation.
Verification
After you save the configuration, VergeOS begins forwarding logs to the specified server. Check the collector to confirm VergeOS logs arrive.
If logs do not arrive:
On the collector host, capture traffic on the configured syslog port to confirm packets arrive (replace
514with the port you configured):Inspect the captured messages to verify the wire format. An RFC 5424 message starts with
<PRI>1(for example,<30>1 2026-04-15T...); a version of0means the template still uses%PROTOCOL-VERSION%— see the template warning above.Make sure firewall rules between VergeOS and the collector allow the configured port and protocol.
Last updated
Was this helpful?