forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Adds editor for configuring detector rules (elastic#20989) (elas…
…tic#21067) * [ML] Adds editor for configuring detector rules * [ML] Edits to Rule Editor flyout following review
- Loading branch information
1 parent
d5a8277
commit 5561cfe
Showing
19 changed files
with
2,015 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
/* | ||
* Contains values for ML job detector rules. | ||
*/ | ||
|
||
|
||
export const ACTION = { | ||
SKIP_MODEL_UPDATE: 'skip_model_update', | ||
SKIP_RESULT: 'skip_result', | ||
}; | ||
|
||
export const FILTER_TYPE = { | ||
EXCLUDE: 'exclude', | ||
INCLUDE: 'include', | ||
}; | ||
|
||
export const APPLIES_TO = { | ||
ACTUAL: 'actual', | ||
DIFF_FROM_TYPICAL: 'diff_from_typical', | ||
TYPICAL: 'typical', | ||
}; | ||
|
||
export const OPERATOR = { | ||
LESS_THAN: 'lt', | ||
LESS_THAN_OR_EQUAL: 'lte', | ||
GREATER_THAN: 'gt', | ||
GREATER_THAN_OR_EQUAL: 'gte', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.