Skip to content

Conversation

@prithvipatil97
Copy link
Contributor

@prithvipatil97 prithvipatil97 commented Oct 29, 2025

We need to perform the changes in Procedures 1, 4, and 5

  1. Prerequisites section is incomplete.
  2. Operators names are not highlighted in Procedure 1.
  3. Project name has not been added to the command mentioned in Procedure 4.
  4. Remove the command $ oc project openshift-logging from Procedure 5 and add the project name in the remaining command.

Below is the updated look of the documentation:

Prerequisites

  • You have access to an {ocp-product-title} cluster with cluster-admin permissions.
  • You installed the {oc-first}.
  • You have access to a supported object store. For example, AWS S3, Google Cloud Storage, {azure-short}, Swift, Minio, or {rh-storage}.
  1. Install the Red Hat OpenShift Logging Operator, Loki Operator, and Cluster Observability Operator (COO) from OperatorHub.

  2. Allow the collector's service account to write data to the LokiStack CR:

$ oc adm policy add-cluster-role-to-user logging-collector-logs-writer -z collector -n openshift-logging
  1. Allow the collector's service account to collect logs:
$ 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

Version(s):

Logging 6.4, Logging 6.3, Logging 6.2, Logging 6.1, Logging 6.0

Issue:

https://issues.redhat.com/browse/OBSDOCS-2678

Link to docs preview:

https://101389--ocpdocs-pr.netlify.app/openshift-logging/latest/about/quick-start.html

QE review:

  • QE has approved this change.

Additional information:

We need to perform the changes in Procedures 1, 4, and 5
1. Prerequisites section is incomplete.
2. Operators names are not highlighted in Procedure 1.
3. Project name has not been added to the command mentioned in Procedure 4.
4. Remove the command `$ oc project openshift-logging` from Procedure 5 and add the project name in the remaining command.
Below is the updated look of the documentation:

Prerequisites

You have access to an {ocp-product-title} cluster with cluster-admin permissions.
You installed the {oc-first}.
You have access to a supported object store. For example, AWS S3, Google Cloud Storage, {azure-short}, Swift, Minio, or {rh-storage}.
1. Install the `Red Hat OpenShift Logging Operator`, `Loki Operator`, and `Cluster Observability Operator (COO)` from OperatorHub.

4. Allow the collector's service account to write data to the LokiStack CR:

$ oc adm policy add-cluster-role-to-user logging-collector-logs-writer -z collector -n openshift-logging
5. Allow the collector's service account to collect logs:

 

$ 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
@openshift-ci openshift-ci bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 29, 2025
@ocpdocs-previewbot
Copy link

🤖 Wed Oct 29 22:08:05 - Prow CI generated the docs preview:

https://101389--ocpdocs-pr.netlify.app/openshift-logging/latest/about/quick-start.html

@openshift-ci
Copy link

openshift-ci bot commented Oct 29, 2025

@prithvipatil97: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@prithvipatil97
Copy link
Contributor Author

Hello Team,
I need QE approval for this change.

All checks have passed, and I have reviewed the PR with the peer review checklist.

@anpingli , @QiaolingTang , it would be really helpful if someone could please take a look and provide QE approval for this change.

Thanks in advance.

Regards,
Prithviraj Patil

. Install the {clo}, {loki-op}, and {coo-first} from OperatorHub.
. Install the `{clo}`, `{loki-op}`, and `{coo-first}` from OperatorHub.

. Create a `LokiStack` custom resource (CR) in the `openshift-logging` namespace:
Copy link

@anpingli anpingli Oct 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we see "here is an example using AWS s3 object store"?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the storage.schemas.verison must be v13.

$ oc adm policy add-cluster-role-to-user collect-infrastructure-logs -z collector
$ oc adm policy add-cluster-role-to-user collect-infrastructure-logs -z collector -n openshift-logging
----
+

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about move (Create a UIPlugin CR to enable the Log section in the Observe tab) after line 45.
The UIPlugin display logs from lokistack, it doesn't care about if ClusterLogForwarder is running or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants