$ export ROX_ENDPOINT=<host:port> (1)
Central saves information to its container logs.
You have configured the ROX_ENDPOINT
environment variable using the following command:
$ export ROX_ENDPOINT=<host:port> (1)
1 | The host and port information that you want to store in the ROX_ENDPOINT environment variable. |
Run the following command to view the logs for the Central pod:
$ kubectl logs -n stackrox <central_pod>
Run the following command to view the logs for the Central pod:
$ oc logs -n stackrox <central_pod>
You can change the log level to see more or less information in Central logs.
Run the following command to view the current log level:
$ roxctl central debug log
Run the following command to change the log level:
$ roxctl central debug log --level=<log_level> (1)
1 | The acceptable values for <log_level> are Panic , Fatal , Error , Warn , Info , and Debug . |
Run the following command to gather the debugging information for investigating issues:
$ roxctl central debug dump
To generate a diagnostic bundle with the RHACS administrator password or API token and central address, follow the procedure in Generating a diagnostic bundle by using the roxctl CLI.