Sending logs to a syslog server
The appliance keeps its logs on its own disk, rotates them, and eventually throws them away. That’s fine until you need to know what happened last Tuesday, or the appliance itself is the thing that broke. This recipe sends a copy of every log line to a central log server as it’s written. You can use any syslog server, or VCF Operations for logs if your VCF fleet already has it.
Getting ready
- A standalone appliance and a root shell on it: SSH in as
vmware-system-user, thensudo su -(recipe 2.1). - A syslog server that accepts messages from the appliance. The lab uses
syslog01.vmw.lab, listening on UDP 514 and on TCP 6514 with TLS. If you use VCF Operations for logs instead, you need its FQDN (logs.vmw.labin the lab). - For TLS: the CA certificate that signed the syslog server’s certificate, as a PEM file. In the lab that’s the lab root CA from recipe 2.2, copied to
/root/lab-root-ca.pemon the appliance. - Firewall rules from the appliance (from every node, in a cluster) to the log server on the port you choose.
How to do it
- See what’s configured now. Log in to the appliance over SSH and list the syslog integrations. On a fresh appliance the list is empty:
vracli remote-syslog-
Add the syslog server. Give the integration a name with
-id, then the server as a URL. Choose one of the three connection types.TCP with TLS, which is what you want for anything that leaves the management network:
vracli remote-syslog set -id labsyslog tcp://syslog01.vmw.lab:6514 --ca-file /root/lab-root-ca.pemTCP without TLS. You must say so explicitly with --disable-ssl:
vracli remote-syslog set -id labsyslog tcp://syslog01.vmw.lab:514 --disable-sslPlain UDP. If you leave the port out, it defaults to 514:
vracli remote-syslog set -id labsyslog udp://syslog01.vmw.lab- Check the result. Run
vracli remote-syslogagain. Your integration is listed with its name, host, port, and protocol.
SSH session on vco01 showing the output of vracli remote-syslog after step 2, with the labsyslog integration pointing at syslog01.vmw.lab on TCP 6514.
- Send a test line. In the Orchestrator Client, create a workflow called
Write a syslog test linein the folder VCF Orchestrator Guide/Chapter 2. Give it one Scriptable task with this script, then run it:
// Writes a line that is easy to search for on the log server.var marker = "vcfguide-syslog-test " + new Date().toISOString();System.log(marker);System.warn(marker + " (warning level)");- Find the line on the log server. Search for
vcfguide-syslog-test. Both lines should arrive within a minute, tagged with the appliance’s host name.
The lab syslog server's search or tail view, filtered on vcfguide-syslog-test, showing the two lines from step 4 with vco01.vmw.lab as the source.
- Remove an integration you no longer want, by name:
vracli remote-syslog unset -id labsyslogWithout -id, unset removes every integration, after asking you to confirm. Add -f to skip the question.
vracli remote-syslog commands and options in steps 1 to 6 come from the Aria Automation Orchestrator 8.12 to 8.18 documentation. Check them against vracli remote-syslog -h on 9.1.1, and capture the real output of vracli remote-syslog for Figure 2.9.System.log() and System.warn() lines actually reach the syslog server (step 5), and note how long they take and which host name and program name they arrive with.How it works
Orchestrator’s services run as containers in the appliance’s Kubernetes cluster, and each container writes its logs to files under /services-logs/prelude/ on the appliance. The Orchestrator server’s own logs, including the lines your workflows write with System.log(), are under /services-logs/prelude/vco-app/.
/services-logs/prelude/ path is the 8.x appliance’s and hasn’t been checked on a standalone 9.1.1 appliance. On an embedded 9.1.1 Orchestrator (checked on 1 Dec 2026), the same logs are under /var/log/services-logs/prelude/vco-app/file-logs/; recipe 2.7 lists them.A log collector on the appliance reads those files as they grow. vracli remote-syslog set stores your integration in the appliance’s configuration and tells that collector to forward every new line to the server you named. Nothing changes in Orchestrator itself, so there’s no restart, and workflows keep running while you set it up.
Because the collector reads the files rather than replacing them, the local logs stay exactly as they were. Forwarding adds a copy, it doesn’t move anything.
remote-syslog set doesn’t restart any Orchestrator pod by running kubectl -n prelude get pods before and after, and comparing the restart counts.vracli remote-syslog set or vracli vrli set in the appliance shell. There's no web page for it.There's more
VCF Operations for logs. If your fleet runs VCF Operations for logs, use its own integration instead of plain syslog. It uses the log agent’s protocol, which buffers, compresses, and encrypts:
vracli vrli set logs.vmw.labvracli vrli # show the current settingsvracli vrli -h # every optionIf VCF Operations for logs presents a certificate the appliance doesn’t trust, add -k (--insecure) to skip verification. Do that in a lab only. In production, have the appliance trust the issuing CA instead.
vracli vrli set syntax on 9.1.1 from vracli vrli -h, and which port and scheme it uses by default. A Broadcom KB for 8.x shows HTTPS on port 9543.One destination at a time. The appliance sends logs to one remote destination. If both a VCF Operations for logs integration and a syslog integration are configured, VCF Operations for logs wins. If you need logs in two places, forward them from the first server to the second.
Don’t edit the agent’s files by hand. You may find a familiar liagent.ini on the appliance. Changes to it are overwritten within moments, because the appliance regenerates the file from its own configuration. Always use vracli.
Clusters. In a three-node cluster (recipe 2.4), run vracli remote-syslog set once on any node. The setting is part of the shared cluster configuration, so all three nodes start forwarding, each under its own host name.
Turn up the detail first. Forwarding sends what the server logs, at the level it logs. To capture more, raise the server or scripting log level with vracli vro logs configure (recipe 1.8) before you start chasing a problem, and lower it again afterwards. Debug logging from a busy server can overwhelm a small syslog server.
The embedded Orchestrator. The VCF Automation appliance has no vracli (checked on 9.1.1, 1 Dec 2026), so vracli remote-syslog isn’t available for the Orchestrator inside it. Its logs go wherever VCF Automation’s logs go, which you set up from VCF Operations for the whole fleet.
See also
- 1.8 Configuring Orchestrator from the command line, for log levels.
- 2.2 Replacing the appliance certificate, for the lab root CA.
- Broadcom TechDocs (Aria Automation Orchestrator 8.18): Create or overwrite a syslog integration in Automation Orchestrator.
- Broadcom KB 385957: Changes to liagent.ini are overwritten on Aria Automation and Aria Orchestrator.
- Broadcom KB 431771: Configuring component log forwarding to a VCF Operations for Logs 9.0.x cluster, for the ports VCF Operations for logs listens on.
