Forum Discussion
Sarah_Terry
7 years agoProduct Manager
@Brandon thanks for posting. One way to do this programmatically is to make a GET request to get the datasources associated with a device, and filter for instanceCount = 0. There's a similar example on this page: https://www.logicmonitor.com/support/rest-api-developers-guide/v1/datasources/get-datasources-associated-with-a-device/, but you would have to make the request for each device.