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.

Before you begin

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.

Procedure

  1. Log in as administrator@your_domain_name to the vCenter Server instance in the vCenter Server Appliance by using the vSphere Web Client.
  2. On the vSphere Web Client Home page, click System Configuration.
  3. Under System Configuration click Nodes and select a node from the list.
  4. Click the Related Objects tab.

    You see a list of services running in the node you selected.

  5. Right-click VMware Syslog Service and select Settings.
  6. Click Edit.
  7. From the Common Log Level drop-down menu select the log files to redirect.

    Option

    Description

    *

    All log files are redirected to the remote machine.

    info

    Only informational log files are redirected to the remote machine.

    notice

    Only notices are redirected to the remote machine.

    Notice indicates normal but significant condition.

    warn

    Only warnings are redirected to the remote machine.

    error

    Only error messages are redirected to the remote machine.

    crit

    Only critical log files are redirected to the remote machine.

    alert

    Only alerts are redirected to the remote machine.

    Alert indicates that action must be taken immediately.

    emerg

    Only emergency log files are redirected to the remote machine.

    Emergency indicates that the system stopped responding and cannot be used.

  8. 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.
  9. 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.
  10. From the Remote Syslog Protocol drop-down select the protocol to use.

    Option

    Description

    TCP

    Transmission Control Protocol

    UDP

    User Datagram Protocol

    TLS

    Transport Layer Security

  11. Click OK.
  12. From the Actions menu, click Restart so that the configuration changes are applied.