Syslog

Each ESXi host runs a syslog service that is used to log VMkernel messages, as well as messages from other system components, to a set of log files.

Syslog settings may be modified using the vSphere Web Client.

To do so:

  1. Using the vSphere Web Client, navigate to an ESXi host in the inventory.
  2. Go to the Manage tab and select the Settings button.
  3. Choose Advanced System Settings underneath the System section.
  4. Search syslog in the query section, as demonstrated in the following screenshot:

    Syslog
  5. The following syslog values may be changed:
    • Syslog.global.defaultRotate: This setting specifies the maximum number of logs to keep.
    • Syslog.global.defaultSize: This setting specifies the default size of a log, in KB, before a log is rotated by the system.
    • Syslog.global.LogDir: This setting specifies the directory in which logs are stored. This can be an NFS or VMFS datastore.
    • Syslog.global.logDirUnique: This setting creates a unique subdirectory with the name of the ESXi host.
    • Syslog.global.LogHost: This setting specifies the remote host and port where syslog messages are forwarded.
  6. To modify a syslog value, select the Name in the list and click on the Modify (pencil) button.

    Syslog
  7. The following screenshot demonstrates modifying the Syslog.global.defaultRotate option.

    Syslog
  8. Once the value has been modified as desired, click on OK.
  9. Repeat steps 5-8 as needed.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.140.153