Forum Discussion
Chi_Duong
Dec 19, 2019Copper Contributor
KQL Syntax Parsing dynamic list of json tuples
Any guidance on how I would go about parsing a dynamic list of tuples within a single event? The example I have attached is a AWS CloudTrail log event with a dynamic list of Security Group polici...
Thijs Lecomte
Dec 20, 2019Bronze Contributor
Hi
Have you checked out MVExpand?
That might be what you are looking for: https://docs.microsoft.com/en-us/azure/kusto/query/mvexpandoperator
Have you checked out MVExpand?
That might be what you are looking for: https://docs.microsoft.com/en-us/azure/kusto/query/mvexpandoperator
Chi_Duong
Dec 20, 2019Copper Contributor
That worked! Thank you!
AWSCloudTrail
| extend Policies = parse_json(RequestParameters).ipPermissions.items
| mvexpand Policies