Skip to content

Commit d874740

Browse files
lcawldimitris-athanasiou
authored andcommitted
[DOCS] Fixes formatting of limitations in rule conditions
1 parent 2bb5623 commit d874740

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

x-pack/docs/en/rest-api/ml/jobresource.asciidoc

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -449,20 +449,22 @@ A rule has the following properties:
449449
`conditions`::
450450
(array) An optional array of numeric conditions when the rule applies.
451451
Multiple conditions are combined together with a logical `AND`.
452-
A condition has the following properties: +
453-
`applies_to`:::
452+
+
453+
--
454+
NOTE: If your detector uses `lat_long`, `metric`, `rare`, or `freq_rare`
455+
functions, you cannot specify `conditions` for your rule.
456+
457+
458+
A condition has the following properties:
459+
460+
`applies_to`:::
454461
(string) Specifies the result property to which the condition applies.
455462
The available options are `actual`, `typical`, `diff_from_typical`, `time`.
456-
`operator`:::
463+
`operator`:::
457464
(string) Specifies the condition operator. The available options are
458465
`gt` (greater than), `gte` (greater than or equals), `lt` (less than) and `lte` (less than or equals).
459-
`value`:::
466+
`value`:::
460467
(double) The value that is compared against the `applied_to` field using the `operator`.
461-
+
462-
--
463-
NOTE: If your detector uses `lat_long`, `metric`, `rare`, or `freq_rare` functions,
464-
you cannot specify `conditions` for your rule.
465-
466468
--
467469

468470
A rule is required to either have a non-empty scope or at least one condition.

0 commit comments

Comments
 (0)