Message logging policy using fields based on condition

@dchiesa1 : I think the jsonPayload is from the structured logging as I read from this page:
https://cloud.google.com/logging/docs/structured-logging
and here is the snippet from the above doc:
This document discusses the concept of structured logging and the methods for adding structure to log entry payload fields. When the log payload is formatted as a JSON object and that object is stored in the jsonPayload field, the log entry is called a structured log.

The issue here is : if you see the below screenshot, the trace query is formed like this and it gives only one result.

But the load balancer trace is not visible because that works like this:

so basically I want to know if I can add trace field outside the message tag so that it comes outside of jsonPayload structure.

projects/systems-apigee-dev/logs/apigee.googleapis.com%2Fproxy-logging-events { "apigeeResourceName": "{apiproxy.name}", "apiProxyRevision": "{apiproxy.revision}", "inputPayload": "{escapeJSON(requestPayload)}", "viesPayload": "{escapeJSON(calloutVIESResponse.content)}", "responseSentToClient": "{escapeJSON(httpResponse)}", "taxIdPayload": "{escapeJSON(calloutValidateResponse.content)}", "responseErrorSentToClient":"{escapeJSON(httpErrorResponse)}", "messageId":"{messageid}" } apiProxy jsonUpload api