How to make external WEBAPI call from ADX code?

Grzegorz 21 Reputation points
2020-07-03T15:55:16.91+00:00

In the documentation we can find 'callout policy' for 'webapi'

https://learn.microsoft.com/bs-latn-ba/azure/data-explorer/kusto/management/calloutpolicy

*Azure Data Explorer clusters can communicate with external services in many different scenarios. Cluster admins can manage the authorized domains for external calls, by updating the cluster's callout policy.

Callout policies are being managed at cluster-level and are classified into the following types.

(...)
webapi - Controls other external Web calls.*

How to make external webapi call from ADX code (eg. from ADX function) then???
There is no answer in docs.

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
479 questions
{count} votes

Accepted answer
  1. MartinJaffer-MSFT 26,011 Reputation points
    2020-07-14T16:42:33.027+00:00

    @Grzegorz-4116 , sorry for the delay, but, I finally got a response, though it is brief. The command to make external webapi call from ADX code is:

    | evaluate http_request_post(url)
    

    Thank you for your patience. I hope this helps.

    0 comments No comments

0 additional answers

Sort by: Most helpful