editcollector CLI command
Use this command to add or delete tags for an existing data collector.
To understand the syntax and examples, see:
Syntax
editcollector -u <userName> -w <password> -d <hostName> -p <portNumber> -n <CollectorName> -addtag <TagName=TagValue> -deltag <TagName=TagValue> [-v] [-s] [-l <locale>]
In the preceding syntax, angle brackets (< >) indicate a variable value that needs to be user defined.
The following table describes the parameters used in the syntax:
Example inputs
The following example provides the input for adding and deleting tags for the data collector, Windows Events:
editcollector -u admin -w admin12345 -d localhost -p 9797 -n "Windows Events" -addtag OS=Windows -addtag OS=Linux -deltag Tier="Tier 1"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*