Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

manageindexblock CLI command



Use this command to add or delete index blocks.

Warning

Note

Before running the command, ensure that the following components are up and running:

  • Configuration Database
  • Console Server
  • Indexer (all instances)

After running this command, ensure that all the product components are up and running. To understand the status of each of the components, navigate to the Administration > Components page. For more information, see Viewing-component-status-and-associated-properties.


Syntax

Warning

Note

Before you run the command, note the following points:

manageindexblock -indexBlockName <indexblockname> -operation <create or delete> -retentiondays <retention days> -archive <archive status> -d <hostname> -p <portNumber> -u <username> -w <password> [-l <locale>] [-s] [-y]
  • 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:

Example inputs

The following example provides the input for creating an index block:

manageindexblock -u admin -w admin12345 -d localhost -p 9797 -operation create -indexblockname abc -retentiondays 8 -archive true

The following example provides the input for previewing an index block:

manageindexblock -u admin -w admin12345 -d localhost -p 9797 -operation delete -indexblockname abc -y true

The following example provides the input for deleting an index block:

manageindexblock -u admin -w admin12345 -d localhost -p 9797 -operation delete -indexblockname abc

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC TrueSight IT Data Analytics 11.3