I try to find the logs when I use “kubectl create token ” command in GKE environment.
I type this command in GCP console directly.
But I can not find any logs to record what I did in GCP log explorer.
I try to use many specific pattern to find the logs:
- user-agent
- specific ip address
- the service account name which I create token
- try to guess the pattern (eg. protoPayload.methodName=”io.k8s.core.v1.token.create”)
- my email name
I also check I enable all the audit logs setting in gcp environment.
Sadly, I can not find any logs when I use “create token” command.
Anyone knows how I can get the logs? Thanks!!
New contributor
pinching is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.