Home / Community / Blog / Send logs from ESX to remote syslog

Send logs from ESX to remote syslog

On fresh install ESXi 7.0 U2 you just need two commands:

esxcli system syslog config set --loghost='udp://192.168.1.28:514'
esxcli network firewall ruleset set --ruleset-id=syslog --enabled=true

First line configures address of remote syslog server - of course you have to change 192.168.1.28 to yours server IP.

Second one opens required ports on firewall.

Comments

Log in or create a user account to comment.

Just my blog...

Mon Tue Wed Thu Fri Sat Sun
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31