Installing VMWare Syslog
For this integration to function correctly, a Unified Security Stack agent is required. Before proceeding, please confirm that it has been installed.
Sign in to your VMware vSphere Client.
Choose the host responsible for managing your VMware inventory.
Open the Configuration tab.
Within the Software panel, select Advanced Settings.
From the navigation menu, select Syslog.
Configure values for the following parameters:
Parameter ESX version Description Syslog.Local.DatastorePath ESX or ESXi 3.5.x or 4.x Enter the directory path for the local syslog messages on your ESXi server. By default, the directory path is [] /scratch/log/messages. Syslog.Remote.Hostname ESX or ESXi 3.5.x or 4.x Enter the IP address for the Unified Security Stack agent. Syslog.Remote.Port ESX or ESXi 3.5.x or 4.x Enter the port number that the ESXi server uses for forwarding syslog data. Choose from these ports: 7002 UDP, 7002 TCP. Syslog.global.logHost ESXi v5.x or ESXi v6.x Provide the URL and port number that the ESXi server uses when forwarding syslog data. Examples: udp:// <Unified Security Stack Agent IP address>:7002 tcp://<Unified Security Stack Agent IP address>:7002Click OK to save the configuration
Sign in to your VMware ESXi Server.
Set up Local and Remote Logging: start an ESXi Shell console session in which the esxcli command is available, for example via the vCLI or directly on the ESXi host.
Display the existing five configuration options on the host by running this command:
esxcli system syslog config getSet new host configuration, specifying options to change, by running a command:
esxcli system syslog config set --loghost='tcp://your_synoti_agent_ip:7002’esxcli system syslog config set --logdir=/scratch/log --loghost=your_synoti_agent_ip --logdir-unique=trueAfter making configuration changes, load the new configuration by running this command:
esxcli system syslog reloadConfiguring ESXi Firewall Exception using the esxcli command/syslog port
esxcli network firewall ruleset set --ruleset-id=syslog --enabled=trueesxcli network firewall refreshRun this command to test if the port is reachable from the ESXi host:
nc -z your_synoti_agent_ip 7002Enable log collector.
To activate the log collector on the host running your Unified Security Stack agent, use the instructions below according to your operating system and chosen protocol.
Run the command shown for your chosen platform
Copy agent installation commands for each operating system directly from your Unified Security Stack instance, under the Integrations section.
This guarantees that every token, identifier, and configuration parameter is correct and tailored to your environment.Example:
Click on the button shown below, to activate the Unified Security Stack features related to this integration