All container logs going into single folder in the log archive bucket
All container logs are going into a folders named `stdout` and `stderr`. Stackdriver uses the `logName` field for folder names, which for container logs is set to `stdout`. For example, here is the folder for prod logs: https://console.cloud.google.com/storage/browser/gitlab-gprd-logging-archive/stdout/2020/11/08?project=gitlab-production&pageState=(%22StorageObjectListTable%22:(%22f%22:%22%255B%255D%22))&prefix=&forceOnObjectsSortingFiltering=false The workaround recommended in https://stackoverflow.com/questions/60177065/gcp-stackdriver-logging-logs-format-changed-in-bucket-from-folder-per-container is to create sinks that map container names to buckets, while this would work for us it unfortunately means we would still need a catch-all bucket for container names that don't match, and need to keep that mapping updated on a regular basis. Another option to explore is to use fluentd to send logs directly to object storage where we would have more control over the location.
issue