You can redirect the vCenter Server Appliance log files to another machine for example, when you want to preserve storage space on the vCenter Server Appliance.
Verify that the user you use to log in to the vCenter Server instance is a member of the SystemConfiguration.Administrators group in the vCenter Single Sign-On domain.
- Log in as administrator@your_domain_name to the vCenter Server instance in the vCenter Server Appliance by using the vSphere Web Client.
- On the vSphere Web Client Home page, click System Configuration.
- Under System Configuration click Nodes and select a node from the list.
- Click the Related Objects tab.
You see a list of services running in the node you selected.
- Right-click VMware Syslog Service and select Settings.
- Click Edit.
- From the Common Log Level drop-down menu select the log files to redirect.
All log files are redirected to the remote machine.
Only informational log files are redirected to the remote machine.
Only notices are redirected to the remote machine.
Notice indicates normal but significant condition.
Only warnings are redirected to the remote machine.
Only error messages are redirected to the remote machine.
Only critical log files are redirected to the remote machine.
Only alerts are redirected to the remote machine.
Alert indicates that action must be taken immediately.
Only emergency log files are redirected to the remote machine.
Emergency indicates that the system stopped responding and cannot be used.
- In the Remote Syslog Host text box, enter the FQDN or IP address of the machine on which you want to export the log files.
- In the Remote Syslog Port text box enter the port number to use for communication with the machine on which you want to export the log files.
- From the Remote Syslog Protocol drop-down select the protocol to use.
Transmission Control Protocol
User Datagram Protocol
Transport Layer Security
- Click OK.
- From the Actions menu, click Restart so that the configuration changes are applied.