I have a VM in GCE with docker installed. There I run containers using the Google Cloud Logging driver. I can see the logs in stackdrive logging. However, i can't easily browse between logs of different containers. All the containers' logs get indexed under the logName
projects/my-project/logs/gcplogs-docker-driver
Is there any way to have fields on the "Log Fields" pane on the left that would allow me to easily filter by container? It seems that the logName
in the gcplogs-docker-driver is hardcoded, so that's not possible to modify. I tried to "add field to log fields pane" using jsonPayload.container.name
but it looks like any field inside jsonPayload
cannot be used in the log fields pane, it shows "Value not present"
I also tried adding labels as gcplogs options but they get sent under the jsonPayload
as well so same problem as with the container name