From 504e568f2cda2038ad444b502ee6eec9b5346d8f Mon Sep 17 00:00:00 2001 From: Prithviraj Patil <116709298+prithvipatil97@users.noreply.github.com> Date: Wed, 12 Mar 2025 03:26:57 +0530 Subject: [PATCH] Need to add separate code blocks under step 7 of of Quick Start docs - Need to add separate code blocks under step 7 of of Quick Start docs - Here is the documentation link: https://docs.openshift.com/container-platform/4.18/observability/logging/logging-6.0/log6x-about.html#quick-start - As per the standard rule, using more than one command per code block is not recommended. - Hence we need to mention 3 separate code blocks for above 3 commands. Here is the updated look of the documentation: $ oc adm policy add-cluster-role-to-user collect-application-logs -z collector -n openshift-logging $ oc adm policy add-cluster-role-to-user collect-audit-logs -z collector -n openshift-logging $ oc adm policy add-cluster-role-to-user collect-infrastructure-logs -z collector -n openshift-logging Updated: Need to add separate code blocks under step 7 of of Quick Start docs - Need to add separate code blocks under step 7 of of Quick Start docs - Here is the documentation link: https://docs.openshift.com/container-platform/4.18/observability/logging/logging-6.0/log6x-about.html#quick-start - As per the standard rule, using more than one command per code block is not recommended. - Hence we need to mention 3 separate code blocks for above 3 commands. - Here is the updated look of the documentation: ~~~ $ oc adm policy add-cluster-role-to-user collect-application-logs -z collector -n openshift-logging ~~~ ~~~ $ oc adm policy add-cluster-role-to-user collect-audit-logs -z collector -n openshift-logging ~~~ ~~~ $ oc adm policy add-cluster-role-to-user collect-infrastructure-logs -z collector -n openshift-logging ~~~ Co-authored-by: Max Leonov --- observability/logging/logging-6.0/log6x-about.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/observability/logging/logging-6.0/log6x-about.adoc b/observability/logging/logging-6.0/log6x-about.adoc index 1f9b8acaa0af..a133cc1d9da2 100644 --- a/observability/logging/logging-6.0/log6x-about.adoc +++ b/observability/logging/logging-6.0/log6x-about.adoc @@ -117,7 +117,15 @@ spec: [source,shell] ---- $ oc adm policy add-cluster-role-to-user collect-application-logs -z collector -n openshift-logging +---- ++ +[source,terminal] +---- $ oc adm policy add-cluster-role-to-user collect-audit-logs -z collector -n openshift-logging +---- ++ +[source,terminal] +---- $ oc adm policy add-cluster-role-to-user collect-infrastructure-logs -z collector -n openshift-logging ----