You might need to report on the versions of VMWare ESXi actively running within your virtualization environment when doing the following:
In order to execute this procedure in your environment, the following data, services, or apps are required:
A report of the versions of VMWare ESXi actively running within your virtualization environment can help you identify version inconsistencies or older versions in need of upgrade.
To optimize the search shown below, you should specify an index and a time range.
- Ensure that you have installed the IT Essentials Work app to onboard VMware data and provide the various VMware entity type configurations and dashboards.
- Ensure that you are collecting VMware data through one or more Data Collection Nodes, which are essentially Splunk heavy forwarders with specific VMware collection configurations.
- Run the following search:
| mcatalog values(os_version) AS esxiversion WHERE index=vmware-perf-metrics AND entity_type=vsphere.esxihost BY name | dedup name sortby - _time | stats count BY esxiversion
The table provides an explanation of what each part of this search achieves. You can adjust this query based on the specifics of your environment.
|| mcatalog values(os_version) AS esxiversion WHERE index=vmware-perf-metrics AND entity_type=vsphere.esxihost BY name||
Search VMWare metric indexes for ESXi version values by ESXi host.
| dedup name sortby - _time
Remove duplicate ESXi hosts from the results.
|| stats count BY esxiversionmoid="*"||
Provide a count of the results, sorted by version ID.
Upgrade versions as needed.