<p>How to i get logging level of a pod given the pod name and Namespace name </p>

<p>if its not possible to get Logging level then please tell me why</p>

Pradeep Padmanaban C
<p>With kubectl command you can perform this</p>

<pre><code>kubectl logs &lt;pod name&gt; --namespace &lt;namespace&gt; [-c &lt;container name&gt;]
</code></pre>

<p>The container name is required is you have several container in your pod</p>

<p>In the GUI of GCP, you can do a custom filter like this</p>

<pre><code>resource.type="k8s_pod"
resource.labels.location="us-central1-c"
resource.labels.cluster_name="cluster-2"
jsonPayload.involvedObject.namespace="namespace"
jsonPayload.involvedObject.name="pod name"
</code></pre>

<p><a href="https://i.stack.imgur.com/MDeUQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MDeUQ.png" alt="enter image description here"></a></p>
