I am trying to configure Fluentd in a GKE cluster to log all Kubernetes events, like HPA changes, pods coming up etc.
Where do GKE stores node level event logs? Looking for source path of GKE node level event logs.
You can find the directory (/var/log/containers) by doing ssh into the node in which your deployment is created.
You can follow this guide which I used to configure cluster-level fluentd which parses all the logs to cloud logging. You can filter the event logs by using the query in cloud logging.
log_name = projects/[YOUR_PROJECT_ID]/logs/events