query for lisitng all the collector which is not sending data into sumologic.
Hello ,
I need a query which it will show all the collectors in my account .
let say i have 10 collector in my account my 2 collector are pushing the data so my two collector can be see on dashboard , but the other 8 collector is not showing due to they don't have data.
i want a query such that all the collector should be shown if they are not pushing the data also .
Thanks in Advance ,
-
hi Dinesh,
to get a listing of all collectors the easiest way is to use the collector management api.
This will give you all collectors and their properties. There is an easy to use python client which has examples to list all collectors as a table: https://github.com/SumoLogic/collector-management-client#listing-offline-collectors
For installed collectors this shows dead collectors (and can bulk delete them).
You can compare that against the data from the data volume app to check if any are reporting no data.
Please sign in to leave a comment.
Comments
1 comment