I want to retrieve data from the result of a query in Log analytics workspace, I tried to do that using pipeline, where as the first function I got the Web activity, configured as follows:
I followed this example:https://datasavvy.me/2020/12/24/retrieving-log-analytics-data-with-data-factory/
Then I got Copy data activity:
request method: post
request body:
{
"query": "ADFPipelineRun | project PipelineName, Status,TimeGenerated, _ResourceId, Type | where Status == 'Succeeded'"
}| ConvertTo-Json
two headers:
Content-Type: application/json; charset=utf-8
Authentication: @concat('Bearer ', activity('GetBearerToken').output.access_token)
I get this error when I debugged: