Gcloud logs viewer - search for substring filter not working

1.5k Views Asked by At

According to documentation, using :"string" on a field searches for the substring.

But it's not working, there is no result. Here is the filter I use in the https://console.cloud.google.com/logs

resource.type="k8s_container"
resource.labels.namespace_name="default"
resource.labels.container_name="product"
jsonPayload.MESSAGE:"video"

Is there something wrong in the way I am doing this?

1

There are 1 best solutions below

0
On

You want to use jsonPayload.message instead, UI insists on providing completion for MESSAGE which does not exist in this context.