Hi Luc,
if yu can suggest powercli way of configuring syslog server
esxcli system syslog config set --loghost=udp://[SYSLOG-SERVER]
If you are using a remote syslog server, it is on the remote syslog server where you configure where the logs should go.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Like this for example
loghost = 'udp://192.168.1.23:514'
}
Get-VMHost -PipelineVariable esx |
ForEach-Object -Process {
$esxcli = Get-EsxCli -VMHost $esx -V2
$esxcli.system.syslog.config.set.Invoke($sLog)
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
if you can suggest this is correct ocnfiguration
These are values you have to configure.
There is no correct/incorrect, it depends what you want.
See KB2003322 for more details.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
the only confusing part is where to give absolute path
i.e
ip/var/log/net_log
its accepting only ip of remote server not the directory path.
If you are using a remote syslog server, it is on the remote syslog server where you configure where the logs should go.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
oh thanks.