Skip to content

[ML] Prevents conditions on rules for rare, metric and lat_long#21198

Merged
peteharverson merged 1 commit intoelastic:masterfrom
peteharverson:ml-rule-condition-functions
Jul 25, 2018
Merged

[ML] Prevents conditions on rules for rare, metric and lat_long#21198
peteharverson merged 1 commit intoelastic:masterfrom
peteharverson:ml-rule-condition-functions

Conversation

@peteharverson
Copy link
Contributor

Prevents numeric conditions being added to rules on detectors which use one of the functions that don't support conditions:

  • rare
  • freq_rare
  • metric
  • lat_long

For a detector with one of the above functions, and partitioning fields, a rule can be configured with scope and an info message is displayed that conditions are not supported:

image

For a detector with one of the above functions, and no partitioning fields, no rules can be configured and the 'Configure rule' menu item is not available in the Anomalies Table actions menu

Fixes #21139

@peteharverson peteharverson added bug Fixes for quality problems that affect the customer experience review v7.0.0 v6.4.0 :ml Feature:Anomaly Detection ML anomaly detection labels Jul 25, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml review v6.4.0 v7.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants