You can generate Horizon 7 events in Syslog format so that the event data can be accessible to analytics software.
You need to configure only one host in a Connection Server group. The remaining hosts in the group are configured automatically.
If you enable file-based logging of events, events are accumulated in a local log file. If you specify a file share, these log files are moved to that share.
Use a local file only for quick troubleshooting during configuration, perhaps before the Events database is configured, so that you have some way to see events.
The maximum size of the local directory for event logs, including closed log files, before the oldest files are deleted, is 300MB. The default destination of the Syslog output is %PROGRAMDATA%\VMware\VDM\events\.
Use a UNC path to save log files for a long-term record of events, of if you do not have a Syslog server, or if your current Syslog server does not meet your needs.
You can alternatively use a vdmadmin command to configure file-based logging of events in Syslog format. See the topic about generating Horizon 7 event log messages in Syslog format using the -I option of the vdmadmin command, in the Horizon 7 Administration document.
Syslog data is sent across the network without software-based encryption, and might contain sensitive data, such as user names. VMware recommends using link-layer security, such as IPSEC, to avoid the possibility of this data being monitored on the network.
You need the following information to configure Connection Server so that events can be recorded in Syslog format or sent to a Syslog server, or both:
If you plan to use a Syslog server to listen for the Horizon 7 events on a UDP port, you must have the DNS name or IP address of the Syslog server and the UDP port number. The default UDP port number is 514.
If you plan to collect logs in a flat-file format, you must have the UNC path to the file share and folder in which to store the log files, and you must have the user name, domain name, and password of an account that has permission to write to the file share.
- In Horizon Administrator, select .
- (Optional) In the Syslog area, to configure Connection Server to send events to a Syslog server, click Add next to Send to syslog servers, and supply the server name or IP address and the UDP port number.
- (Optional) To enable Horizon 7 event log messages to be generated and stored in Syslog format, in log files, select the Log to file: Enable check box.
The log files are retained locally unless you specify a UNC path to a file share.
- (Optional) To store the Horizon 7 event log messages on a file share, click Add next to Copy to location, and supply the UNC path to the file share and folder in which to store the log files, along with the user name, domain name, and password of an account that has permission to write to the file share.
An example of a UNC path is: