31 Mar 2022 12:56 PM
Hi,
We can get OneAgents versions and monitoringState information by using api/v1/entity/infrastructure/processes. but now Entity API v2 is available . Is it possible to get this information through it? how can we do that. thanks
Solved! Go to Solution.
31 Mar 2022 09:59 PM
It looks like the specific property will be on a process group instance entity and is called "installerVersion."
So your selector would be to retrieve process group instances or a specific entityId of a PGI:
entityId("PROCESS_GROUP_INSTANCE-XXXXXXXXXX") or type("PROCESS_GROUP_INSTANCE")
or to make sure you only pull ones deeply monitored that would have that value:
type("PROCESS_GROUP_INSTANCE"),installerVersion.exists()
and the 'fields' would be:
+properties.installerVersion or +properties (for all props)
01 Apr 2022 08:50 AM - edited 01 Apr 2022 08:55 AM
thank you so much .
+properties.installerVersion
But I'm going to ask something just to be sure. Is the version shown with this OneAgent versions in processes or hosts?