configureanomaly CLI command


Use this command to enable or disable anomaly detection. Though anomaly detection is enabled by default, if you are upgrading from a previous TrueSight IT Data Analytics version, in such instances the settings that you have specified regarding anomaly detection, will be carried forward to the upgraded version of TrueSight IT Data Analytics. You can use the configureanomaly CLI command to enable or disable anomaly detection.

Syntax

Note

Before you run the command, note the following points:

configureanomaly -d <hostname> -p <portNumber> -u <username> -w <password> -ops <enable/disable> -interval [interval in seconds]

  • 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 enabling anomaly detection:

configureanomaly -d localhost -p 9797 -u admin -w admin12345 -ops enable -interval 600

The following example provides the input for disabling anomaly detection:

configureanomaly -d localhost -p 9797 -u admin -w admin12345 -ops disable

The following example provides the input for retrieving the status of anomaly detection (enabled/disabled):

configureanomaly -d localhost -p 9797 -u admin -w admin12345 -ops get

 

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