...
Replace <playground-pod-name>
with the actual pod name.
Accessing Logs in Grafana
Viewing Logs for a Kubernetes Pod:
To view logs in Grafana for a specific Kubernetes pod:
Open Grafana:
Navigate to https://<Domain-Name>/monitoring.Go to Kubernetes Logs from Loki:
On the left-hand side menu, go to Dashboards > Kubernetes > Kubernetes Logs from Loki.Select Namespace and Pod:
Namespace: Use the dropdown menu to select the specific namespace.
Pod: Use the dropdown menu to select the specific pod.
You can also filter logs by entering search terms like
error
,fatal
, etc., in the Search Term field.
View the Logs:
Logs will be displayed in the Logs Panel below the filtering options.
The logs are timestamped, and you can scroll through to see different log entries.
The graph above the logs shows the number of log entries over time, giving you a quick overview of log activity.
...