Tag Archives: linux

Send ESXi Host Logs To Remote Syslog Server

Under the ESXi host, navigate to Host->Manage->System->Advanced Settings and search for Syslog.global.logHost and click edit. Now input the address of the syslog server, in my case, a Graylog VM:

ESXi Host Advanced Settings

Enable SSH on the host and login. Navigate to /etc/vmware/firewall and create a file name.xml and add the following editing as needed:

  <service id="0000">
    <rule id='0000'>

Save the file and reload the firewall by issuing

esxcli network firewall unload

esxcli network firewall load

You should now start seeing logs in your syslog server. Just be warned that it is not persistent across reboots.