This KB provides step-by-step instructions to configure Versa Director (VD) to forward audit logs to an external Syslog server over TCP/514 [For example], while ensuring the rsyslog daemon has adequate permissions to read the required log files.
Edit or create the file:
Insert the following configuration:
# Load the imfile module to read log files
module(load="imfile" PollingInterval="10")
# Input for VNMS audit logs with debugging
input(type="imfile"
File="/var/log/vnms/audit/*.log"
Tag="vnms-audit"
Severity="info"
Facility="local0"
reopenOnTruncate="on"
freshStartTail="off")
# Forward to remote syslog server via TCP on port 514
###The IP Port needs to be updated.
local0.* @@10.70.92.12:514 @@ ensures TCP transport (single @ would use UDP).
freshStartTail="off" means rsyslog will read the entire file instead of tailing from the end.
reopenOnTruncate="on" prevents issues with log rotation.
The IP:Port in the above example, 10.70.92.12:514 is user configurable. i.e. local0.* @@syslog.example.com:515 or 1.1.1.1:1000
By default, /var/log/vnms and its subdirectories are owned by versa:versa, and the syslog user cannot read them.
Run the following ACL updates:
sudo setfacl -m u:syslog:rx /var/log/vnms sudo setfacl -d -m u:syslog:rx /var/log/vnms/audit sudo setfacl -m u:syslog:rx /var/log/vnms/audit/*.log
Restart the service:
Check status:
admin@Snehal-Director:/var/log$ sudo service rsyslog status
● rsyslog.service - System Logging Service
Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2025-11-19 19:40:39 CST; 2s ago
Docs: man:rsyslogd(8)
http://www.rsyslog.com/doc/
Main PID: 1457 (rsyslogd)
Tasks: 11 (limit: 4915)
CGroup: /system.slice/rsyslog.service
└─1457 /usr/sbin/rsyslogd -n
Nov 19 19:40:39 Snehal-Director systemd[1]: Starting System Logging Service...
Nov 19 19:40:39 Snehal-Director rsyslogd[1457]: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd. [v8.32.0]
Nov 19 19:40:39 Snehal-Director systemd[1]: Started System Logging Service.
Nov 19 19:40:39 Snehal-Director rsyslogd[1457]: rsyslogd's groupid changed to 106
Nov 19 19:40:39 Snehal-Director rsyslogd[1457]: rsyslogd's userid changed to 102
Nov 19 19:40:39 Snehal-Director rsyslogd[1457]: [origin software="rsyslogd" swVersion="8.32.0" x-pid="1457" x-info="http://www.rsyslog.com"] start