Installation guide

Table Of Contents
5 In the Syslog.Local.DatastorePath text box, enter the datastore path for the file to which syslog will log
messages.
The datastore path should be of the form [<datastorename>] </path/to/file>, where the path is relative to the
root of the volume backing the datastore. For example, the datastore path [storage1] var/log/messages
would map to the path /vmfs/volumes/storage1/var/log/messages.
If no path is specified, the default path is /var/log/messages.
6 In the Syslog.Remote.Hostname text box, enter the name of the remote host to which syslog data will be
forwarded.
If no value is specified, no data is forwarded.
7 In the Syslog.Remote.Port text box, enter the port on the remote host to which syslog data will be
forwarded.
By default, this option is set to 514, which is the default UDP port used by syslog. Changes to this option
take effect only if Syslog.Remote.Hostname is configured.
8 Click OK.
Changes to the syslog options take effect immediately.
Export Diagnostic Data
You can export all or part of your log file data.
When you export log file data, the vm-support script creates a file of the selected data and stores it in a location
you specify. The default file type is .txt if no other extension is specified. The file contains Type, Time, and
Description.
Procedure
1 From the vSphere Client connected to a vCenter Server system or ESX/ESXi host, select Administration
> Export Diagnostic Data.
2 If the vSphere Client is connected to a vCenter Server system, specify the host whose logs you want to
export and the location for storing the log files.
3 If the vSphere Client is connected to an ESX/ESXi host, specify the location for the log files.
4 Click OK.
Collecting Log Files
VMware technical support might request several files to help resolve technical issues. The following sections
describe script processes for generating and collecting some of these files.
Set Verbose Logging
You can specify how verbose log files will be.
Procedure
1 Select Administration > vCenter Server Settings.
2 Select Logging Options.
3 Select Verbose from the pop-up menu.
4 Click OK.
vSphere Basic System Administration
68 VMware, Inc.