Hi,
I was able to get the dimensions from the metrics but not directly from the logs. Here is my query
fetch logs
| filter contains(azure.resource.name, "MTH") and contains(content, "QRY_STATUS") and contains(content, "ETL-ALERT") //and loglevel == "ERROR"
| parse content, "JSON:json"
| fieldsFlatten json
| fields timestamp, azure.resource.group, APPLICATION_NAME = json.Properties[APPLICATION_NAME], QRY_STATUS = json.Properties[QRY_STATUS], PIPELINESTEPCODE = json.Properties[PIPELINESTEPCODE],
TENANT_ID = json.Properties[TENANT_ID], LEVELNUMBER = json.Properties[LEVELNUMBER], QRY_ERROR = json.Properties[QRY_ERROR]
| filter QRY_STATUS == "FAILED"
| makeTimeseries count(), interval: 1m, time: timestamp
I want to get the all the attributes in the fields in the event properties, but ,I’m not able to get those.
Any help here is highly appreciated.
Thanks