configureindexsettings CLI command
Use this command to change index-level settings. These settings can help you customize index behavior.
To understand the syntax and examples, see:
Before you begin
Ensure that the Indexer cluster and the Console Server are up and running.
Syntax
configureindexsettings -d <hostname> -p <portNumber> -u <username> -w <password> [-l <locale>] [-s] -ops <operationType> -indextype <type>
- Angle brackets (< >) indicate a variable value that needs to be user defined.
- Square brackets ([ ]) indicate optional parameters.
The following table describes the parameters used in the syntax:
Index-level settings
The following table provides definitions of the index-level settings that you can change by running this command.
Example inputs
The following example provides the input for listing details of all the index-level settings.
configureindexsettings -u admin -w admin12345 -d localhost -p 9797 -ops list
The following example provides the input for modifying details of particular index-level settings.
configureindexsettings -u admin -w admin12345 -d localhost -p 9797 -ops modify -k index.refresh_interval=5s,index.number_of_replicas=3
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*