/var/log/vmware/vpxd/vpxd.logYYYY-MM-DDTHH:MM:SS.###Z info vpxd[PID] [Originator@6876 sub=vpxLro opID=6#######4] [VpxLRO] -- BEGIN task-3##9##6 -- vm-##### -- vim.VirtualMachine.shutdownGuest -- 5######6-2##c-1##4-1##5-a##########2(5######8-e##b-1##c-2##2-5##########6)When a user connects to vCenter Server (vpxd service) through API's or the vSphere Client, a Session ID is created and vCenter Server logs the username and IP address for each session created. Identity the source IP details by reviewing the logs mentioned below:
vm-10008".grep command to locate the shutdown task:grep -i "vim.VirtualMachine.shutdownGuest" vpxd.log | grep -i vm-10008YYYY-MM-DDTHH:MM:SS.###Z info vpxd[PID] [Originator@6876 sub=vpxLro opID=6#######4] [VpxLRO] -- BEGIN task-3##9##6 -- vm-10008 -- vim.VirtualMachine.shutdownGuest -- 5######6-2##c-1##4-1##5-a##########2(5######8-e##b-1##c-2##2-5##########6)vm=10008' is used to filter the logs.5######6-2##c-1##4-1##5-a##########2.grep "5######6-2##c-1##4-1##5-a##########2" vpxd-profiler.log | grep ClientIP/SessionStats/SessionPool/Session/Id='5######6-2##c-1##4-1##5-a##########2'/Username='Example.com\username'/ClientIP='192.###.###.###'5######6-2##c-1##4-1##5-a##########2 created by the user Example.com\username from the IP address '192.###.###.###'.