VMware Cloud Community
PMPM789
Enthusiast
Enthusiast
Jump to solution

how to update host profile for syslog config for each esxi

Hello team

I want to configure syslog for each esxi. Providing location for shared data storage like datastore_1/syslog . I have updated this path in host profile and applied for all the esxi . Logs are generating in the folder but all mix .There is no seperate folder for each esxi . How can i get seperate folder get created for each esxi and in host profile ? or do i need to manually update with each sub folder location manually for each esxi ?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
IRIX201110141
Champion
Champion
Jump to solution

If you use "Syslog.global.logDirUnique" than an subfolder based on the esxi hostname is used.

Regards,
Joerg

View solution in original post

0 Kudos
2 Replies
IRIX201110141
Champion
Champion
Jump to solution

If you use "Syslog.global.logDirUnique" than an subfolder based on the esxi hostname is used.

Regards,
Joerg

0 Kudos
ZibiM
Enthusiast
Enthusiast
Jump to solution

You can do that with powercli:

Get-AdvancedSetting -Entity $esx -Name "Syslog.global.logDirUnique" | Set-AdvancedSetting  -Value "True" -Confirm:$false;