Getting failed connections from ServiceMap using Analytics

New Contributor

Hi all.


We are wondering if it is possible to have a query that would retrieve all the failed connections that

we see in servicemap ?


Has anybody done this and would like to share the solution ?


Thx in advance

2 Replies
best response confirmed by Dan Hansen (New Contributor)

Dan, right now you can only get information about connections, including failed connections, from the Service Map API.  That data is not in Log Analytics yet, but it is something that we are actively working on.



I have attached a sample script that queries the API for connection data and writes it to a CSV.  It doesn't specifically target failed connections, but that would be a small change.

Hi David.


Thank you, greatly appreciated