Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

editcollector CLI command


Use this command to add or delete tags for an existing data collector.

Syntax

Warning

Note

Before you run the command, note the following points:

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*

BMC TrueSight IT Data Analytics 2.7