<p>So there's this page about <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/audit-logging" rel="nofollow noreferrer">auditing-logs</a> and I'm very confused about:</p>
<blockquote>
<p>The k8s.io service is used for Kubernetes audit logs. These logs are generated by the Kubernetes API Server component and they contain information about actions performed using the Kubernetes API. For example, any changes you make on a Kubernetes resource by using the kubectl command are recorded by the k8s.io service. For more information, see Auditing in the Kubernetes documentation.</p>
</blockquote>
<blockquote>
<p>The container.googleapis.com service is used for GKE control plane audit logs. These logs are generated by the GKE internal components and they contain information about actions performed using the GKE API. For example, any changes you perform on a GKE cluster configuration using a gcloud command are recorded by the container.googleapis.com service.</p>
</blockquote>
<p>which one shall I pick to get:</p>
<ol>
<li><code>/var/log/kube-apiserver.log</code> - API Server, responsible for serving the API</li>
<li><code>/var/log/kube-controller-manager.log</code> - Controller that manages replication controllers</li>
</ol>
<p>or these are all similar to EKS where audit logs means a <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html" rel="nofollow noreferrer">separate thing</a>?</p>
<blockquote>
<p>Audit (audit) – Kubernetes audit logs provide a record of the individual users, administrators, or system components that have affected your cluster. For more information, see Auditing in the Kubernetes documentation.</p>
</blockquote>

<p>If the cluster still exists, you should be able to do the following on GKE</p>
<pre><code>kubectl proxy
curl http://localhost:8001/logs/kube-apiserver.log
</code></pre>
<p>AFAIK, there's no way to get server logs for clusters that have been deleted.</p>
