Chapter 5. Debugging issues


Central saves information to its container logs.

5.1. Prerequisites

  • You have configured the ROX_ENDPOINT environment variable using the following command:

    $ export ROX_ENDPOINT=<host:port> 
    1
    Copy to Clipboard
    1
    The host and port information that you want to store in the ROX_ENDPOINT environment variable.

5.2. Viewing the logs

Kubernetes

Procedure

  • Run the following command to view the logs for the Central pod:

    $ kubectl logs -n stackrox <central_pod>
    Copy to Clipboard

OpenShift Container Platform

Procedure

  • Run the following command to view the logs for the Central pod:

    $ oc logs -n stackrox <central_pod>
    Copy to Clipboard

5.3. Viewing the current log level

You can change the log level to see more or less information in Central logs.

Procedure

  • Run the following command to view the current log level:

    $ roxctl central debug log
    Copy to Clipboard

5.4. Changing the log level

Procedure

  • Run the following command to change the log level:

    $ roxctl central debug log --level=<log_level> 
    1
    Copy to Clipboard
    1
    The acceptable values for <log_level> are Panic, Fatal, Error, Warn, Info, and Debug.

5.5. Retrieving debugging information

Procedure

  • Run the following command to gather the debugging information for investigating issues:

    $ roxctl central debug dump
    Copy to Clipboard
  • 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.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat, Inc.