Checking the logging levels

The get_logging_levels action returns a list of services for a particular application that has logging configured. The application parameter determines the implementation and response. Each product or application might have its own implementation of this action.

Before you begin

To access the get_logging_levels action, you must install the command line interface (CLI) utility cpctl from the cp-serviceability pod. For more information, see Installing the cpctl utility to access support actions.

Procedure

  1. To retrieve the current logging levels in IBM Security QRadar® Suite Software, use the following command to run the get_logging_levels action:
    cpctl diagnostics get_logging_levels --token $(oc whoami -t)
    The result is in the following format: application | deployment | level.

    In the following example, the application | deployment | level parameters are platform | authsvc | fatal.

    platform | authsvc | level=fatal
    car | car | level=info
    car | car-connector-config | level=info
    car | car-frontend-ui | level=info
    clx | clx-console | level=info
    clx | clx-notifications | level=info
  2. To get a list of parameters, run the following command:
    cpctl diagnostics get_logging_levels --help
  3. To get the logging level of a specific application, specify the application parameter in the following command:
    cpctl diagnostics get_logging_levels --token $(oc whoami -t) --application
    <app>
    For example, to get the logging level for the platform application, use the following command:
    cpctl diagnostics get_logging_levels --token "$(oc whoami -t)" --
    application platform
  4. To get the logging level of a specific deployment within an application, specify the deployment and application parameters in the following command.
    cpctl diagnostics get_logging_levels --token $(oc whoami -t) --application
    <app> --deployment <dep>
    For example, to get the logging level for the authsvc deployment in the platform application, use the following command:
    cpctl diagnostics get_logging_levels --token "$(oc whoami -t)" --
    application platform --delpoyment authsvc