Hi,
We have created a dashbaord widget for viewing total numbers of nodes but it also includes the unmanaged nodes. We only want to see the total number of managed nodes. Could anyone please help with the SWQL query for that?
The query that I have used-
select count(1) as countnodes from orion.nodes where (nodes.customproperties.country = 'city1' or nodes.customproperties.country = 'city2' or nodes.customproperties.country = 'city3' or nodes.customproperties.country = 'city4' or nodes.customproperties.country = 'city5' or nodes.customproperties.country = 'city6' or nodes.customproperties.country = 'city7' or nodes.customproperties.country = 'city8' )
Thanks.