deletecollector CLI command
Use this command to delete data collectors based on the criterion specified. Additionally, you can preview the data collectors that will be affected by the criterion that you specify. You can also delete the data indexed by those data collectors.
To understand the syntax and examples, see:
Syntax
deleteCollector -u <userName> -w <password> -d <hostName> -p <portNumber> -c <criterion> [-l <locale>] [-y][-r][-v][-s]
- 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 input
The following example provides the input for deleting the data collectors associated with host name starting with houston:
deleteCollector -u admin -w admin12345 -d localhost -p 9797 -c hostName="houston*" -r
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*