VMWare ESXi APIs

I’m wanting to pull logs from VMWare such as datastore changes, network config changes, VMs created, deleted, snapshots, logons and logoffs and PowerCLI activity but I’m having a hard time finding most of the latter in the API documentation.

Am I off-base and for things like longs, logoffs and PowerCLI activity I should be focusing on syslog output? Are their API calls for all of this data and I’m missing it?

Are you using vCenter? There is plenty of good documentation for VMware vCenter APIs.

1 Like

Yep, using vCenter. Just started to play with postman, successfully got a session token, trying to figure out how to use it in subsequent quire’s. Steep learning curve as this is all new to me. Then I guess I need to use an SDK to build something out. Steep indeed.

1 Like

It may be steep, but that experience could lead to a very profitable career. Personally I use Ansible for all my automation. The playbooks make things easier and it is well documented.

1 Like