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.
Procedure
-
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
- To get a list of parameters, run the following command:
cpctl diagnostics get_logging_levels --help
- 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
- 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