Kusto query from runbook

387 views Asked by At

Is it possible to call a kusto query against azure log analytics from a runbook? I want to get back a scalar result.

Any examples?

1

There are 1 answers

0
KrishnaG On

It should be possible. Short answer to accomplish this requirement is by leveraging this cmdlet or this API.

This is another reference for the above mentioned API.

You may call above mentioned cmdlet from a runbook or else you may call above mentioned API from a runbook with the help of Invoke-RestMethod cmdlet.