Sometime we queries at one and get the value at another column, so thought of sharing this finding came across
I have created a logic-app, with trackedProperties "MessageId" and attached with Log analytics workspace (Diagnostic settings).
How to add track properties to log analytics workspace in logi-app
"trackedProperties": {
"MessageId": "@{json(xml(triggerBody())).ABC.DEF.MessageID}"
}
When I queried in Log Analytics,there I saw 2 trackedProperties columns with the name trackedProperties_MessageId_g and trackedProperties_MessageId_s.
Significance of above said 2 column names: When you provide a GUID value, it populates to trackedProperties_MessageId_g and when you provide string it populates to trackedProperties_MessageId_s.