Best practice is to set up the syslog server on the reference host with the vSphere Client or the esxcli system syslog command and save the host profile. Similarly Best practice is to set up hosts to use ESXi Dump Collector with the esxcli system coredump command and save the host profile.
In some situations, setting up syslog & ESXi dump collector from the Host Profiles interface is an alternative.
1. Use a vSphere Client to connect to the vCenter Server system.
2. Select the host and select View > Management > Host Profiles.
3. Create host profile or edit existing host profile
4. For coredump below is the path
For syslog server, If you configure a remote syslog server with the vSphere Client or the esxcli system syslog command before you edit host profiles, you can change the remote server and all other syslog options.
a. Select Advanced configuration option.
b. Select the syslog server settings that you want to use for the hosts provisioned with Auto Deploy.
If you do not configure a remote syslog server before you edit host profiles, you must add an advanced option.
c. Right-click Advanced configuration option and select Add Profile.
d. Open the Advanced configuration option folder and scroll to the bottom.
e. Click Option Profile, click Edit, and select Configure a fixed option.
f. Specify Syslog.global.logHost as the option name and the name or IP address of the syslog server as the option value.
g. You must specify a valid syslog server or you cannot save the host profile policy.
h. Click OK to save the host profile settings.