BigFix Rest api query bes computers

For the non-Reserved properties, you’ll need to retrieve values of results(bes computer, bes property)

Be warned though that the “intuitive” way is terribly slow and inefficient. Refer to Efficient Session Relevance Query for Computer Properties for the “correct/most efficient” methods for looking up property results.

If you were to use

(Name of it, values of results(it, bes properties whose(name of it = "My Property")) of bes computers

…then the lookup to find the BES Property is repeated for each computer which is very slow. The quoted article demonstrates how to lookup each property just once for the whole query.

To get a list of properties I use

(name of it, id of it, reserved flag of it, name of site of source analysis of it | "Global", name of source analysis of it | "Global", number of results of it) of bes properties
1 Like