I have some log data structured like:
{
timestamp: mm/dd/yyy hh:mm:ss
customDimensions : {
location: "locationA",
subLocation: "subLocationB",
dataName: "dataNameB",
data: "value"
}
}
I need to return the latest record for each "dataName" by location/subLocation.
e.g.
locationA sublocationB dataName value
locationA sublocationC dataName value
locationA sublocationB dataname2 value
Basically perform a "group by" on fields: location,sublocation, and dataName where max(timestamp)
How can I achieve this with Kusto as there is no group by support and the summarize function seems to require an aggregate function?