Forum Discussion

GouravIN's avatar
GouravIN
Brass Contributor
Apr 07, 2022

Need help with Custo

Hi All,

 

I have a query that I am running to fetch some data factory logs however the output contains a whole lot of JSON values so can't display them on ALA output console.

 

Hence I am extending them into an array and tried to display them one by one and it did work for me.
However, the real problem is to print the other values (n number of) of this array.

I am not sure if we can use any loop or something that can iterate until the last value of array and print this for me.

 

The query looks like this.....

ADFActivityRun
| where PipelineName == "PL_Ingestion"
| where Status == "Succeeded" and OperationName has "Configtablelookup"
| extend d = parse_json(Output)
| extend targetTableName = d.value[0].TargetTable, startTime = d.value[0].ExtractionStartDateTime, trigger = d.value[0].TriggerName,  sourceTable = d.value[0].SourceTable
| project targetTableName, startTime, PipelineName, trigger, sourceTable

2 Replies

Resources