You can use the LS-CTRL tool to query the runtime parameters of LogService.
View cluster-level parameters
Run the following command to view cluster-level parameters:
ls_ctrl -H <HOST_ADDRESS> show parameter <name>
Note
In the preceding command, HOST_ADDRESS is the HTTP address (including the port number) of any LogService node, for example, 127.0.0.1:8080. For more information about LS-CTRL commands, see Overview of LS-CTRL.
View node-level parameters
Run the following command (specify --server-only) to view node-level parameters:
ls_ctrl -H <HOST_ADDRESS> show parameter <name> --server-only
Note
In the preceding command, HOST_ADDRESS is the HTTP address (including the port number) of any LogService node, for example, 127.0.0.1:8080. For more information about LS-CTRL commands, see Overview of LS-CTRL.
Parameters
The following table describes the parameters of the show parameter command.
Parameter |
Description |
|---|---|
<name> |
The parameter name. This parameter is required. |
--server-only |
Specifies whether to read the local configuration of the target node specified by -H instead of reading cluster-level parameters from the LM leader. The default value is false. |