anthos-samples icon indicating copy to clipboard operation
anthos-samples copied to clipboard

The gke.googleapis.com labels are set on the wrong level for systemd

Open jiwang576 opened this issue 4 years ago • 3 comments

There should be an extra nest plugin to nest them under "logging.googleapis.com". Maybe we should consider move it to filter-kubernetes.conf so it can be effective for all included files.

https://github.com/GoogleCloudPlatform/anthos-samples/blob/1da0132772f43655ef97e54841de755f143b394d/aws-logging-monitoring/logging/forwarder.yaml#L203

[FILTER]
        # https://docs.fluentbit.io/manual/filter/nest
        Name    nest
        Match   *
        Operation nest
        Wildcard gke.googleapis.com*
        Nest_under logging.googleapis.com/labels

jiwang576 avatar Oct 06 '21 23:10 jiwang576

Tagging @GoogleCloudPlatform/onyx-gke-observability team since they own /aws-logging-monitoring/ . Can the team PTAL at this?

charlieyu1996 avatar Jun 01 '22 17:06 charlieyu1996

@erain @rsgowman @leonzz - any thoughts on this issue?

Shabirmean avatar Feb 03 '23 20:02 Shabirmean

I didn't know this repo is still in use. @jiwang576 please feel free to create a PR

erain avatar May 08 '23 14:05 erain