Which query to use when searching for GKE autoscaler "scaleUp" events?

35 views
Skip to first unread message

Paolo Filippelli

unread,
Jun 17, 2021, 1:32:25 PM6/17/21
to Google Stackdriver Discussion Forum
Hi everyone!

I'm trying to search for "scaleUp" events from our GKE clusters in StackDriver. I'm using the following query, placeholders are of course replaced in real query.

Is my query correct? If not, is there anyone that can point me into the right direction?

Thank you very much :)

resource.type="k8s_cluster"
AND logName="projects/[PROJECT_ID]/logs/container.googleapis.com%2Fcluster-autoscaler-visibility"
AND resource.labels.cluster_name="[CLUSTER_NAME]"
AND jsonPayload.decision.scaleUp:*

Reply all
Reply to author
Forward
0 new messages