1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/coo-logging-ui-plugin-install.adoc
2025-10-07 12:26:32 -04:00

49 lines
1.8 KiB
Plaintext

// Module included in the following assemblies:
// * observability/cluster_observability_operator/ui_plugins/logging-ui-plugin.adoc
:_mod-docs-content-type: PROCEDURE
[id="coo-logging-ui-plugin-install_{context}"]
= Installing the {coo-full} logging UI plugin
.Prerequisites
* You have access to the cluster as a user with the `cluster-admin` role.
* You have logged in to the {product-title} web console.
* You have installed the {coo-full}.
* You have a `LokiStack` instance in your cluster.
.Procedure
. In the {product-title} web console, click *Ecosystem* -> *Installed Operators* and select {coo-full}.
. Choose the *UI Plugin* tab (at the far right of the tab list) and click *Create UIPlugin*.
. Select *YAML view*, enter the following content, and then click *Create*:
+
[source,yaml]
----
apiVersion: observability.openshift.io/v1alpha1
kind: UIPlugin
metadata:
name: logging
spec:
type: Logging
logging:
lokiStack:
name: logging-loki
logsLimit: 50
timeout: 30s
schema: otel <1>
----
<1> `schema` is one of `otel`, `viaq`, or `select`. The default is `viaq` if no value is specified. When you choose `select`, you can select the mode in the UI when you run a query.
+
[NOTE]
====
These are the known issues for the logging UI plugin - for more information, see link:https://issues.redhat.com/browse/OU-587[OU-587].
* The `schema` feature is only supported in {product-title} 4.15 and later. In earlier versions of {product-title}, the logging UI plugin will only use the `viaq` attribute, ignoring any other values that might be set.
* Non-administrator users cannot query logs using the `otel` attribute with {logging} {for} versions 5.8 to 6.2. This issue will be fixed in a future {logging} release. (https://issues.redhat.com/browse/LOG-6589[LOG-6589])
* In {logging} {for} version 5.9, the `severity_text` Otel attribute is not set.
====