Powershell - Log Insight Get agent listing

There doesn't appear to be an API available to query all current agents configured in LogInsight.Does anyone have any advice on how to pull this data?


I am attempting to invoke-webrequest via /login and /admin but i'm receiving a "CSRF nonce validation failed" when I attempt to authenticate via those URLs via JSON. passing the normal /api/session auth doesn't seem to work either.

0 Kudos
0 Replies