1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/virt-viewing-logs-loki.adoc
2025-11-18 16:29:25 +01:00

22 lines
782 B
Plaintext

// Module included in the following assemblies:
//
// * virt/support/virt-troubleshooting.adoc
:_mod-docs-content-type: PROCEDURE
[id="virt-viewing-logs-loki_{context}"]
= Viewing aggregated {VirtProductName} logs with the LokiStack
[role="_abstract"]
You can view aggregated logs for {VirtProductName} pods and containers by using the LokiStack in the web console.
.Prerequisites
* You deployed the LokiStack.
.Procedure
. Navigate to *Observe* -> *Logs* in the web console.
. Select *application*, for `virt-launcher` pod logs, or *infrastructure*, for {VirtProductName} control plane pods and containers, from the log type list.
. Click *Show Query* to display the query field.
. Enter the LogQL query in the query field and click *Run Query* to display the filtered logs.