Skip to content

Commit 0fe11ea

Browse files
authored
[DOCS] Adds list of supported functions to jobs-from-visualizations guide (elastic#2209)
1 parent 605aeab commit 0fe11ea

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

docs/en/stack/ml/anomaly-detection/ml-jobs-from-visuals.asciidoc

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,26 @@ You can create {anomaly-jobs} from the compatible Lens charts on **Dashboard**.
99

1010
[discrete]
1111
[[prereqs]]
12-
== Prerequisites
12+
== Prerequisites and limitations
1313

1414
* Only chart-like visualizations are compatible. Supported chart types are
1515
`area`, `area_percentage_stacked`, `area_stacked`, `bar`, `bar_horizontal`,
1616
`bar_horizontal_stacked`, `bar_percentage_stacked`, `bar_stacked`, and `line`.
1717

18+
* Supported {anomaly-detect} functions are `average`, `count`, `max`, `median`,
19+
`min`, `sum`, `unique_count`.
20+
1821
* The chart must contain a date field on one axis and it must be the same as the
1922
default date field for the {data-source}.
2023

24+
* In case of a multi-layered chart, only the compatible layers can be used to
25+
create an {anomaly-job}.
26+
27+
* Chart layers which contain a field that uses a
28+
{kibana-ref}/create-a-dashboard-of-panels-with-ecommerce-data.html#compare-time-ranges[time shift]
29+
or a field that has a `filter by` setting applied cannot be used to create an
30+
{anomaly-job}.
31+
2132

2233
[discrete]
2334
[[create-job]]
@@ -29,7 +40,6 @@ NOTE: You need to have a compatible visualization on **Dashboard** to create an
2940
which is based on the {kib} sample flight data set. Select the `Flight count`
3041
visualization from the dashboard.
3142

32-
3343
. Go to **Analytics > Dashboard** and select a dashboard with a compatible
3444
visualization.
3545
. Open the **Options (...) menu** for the panel, then select **More**.
@@ -51,8 +61,8 @@ field, the multi metric job wizard is used for creating the job. For a single
5161
metric chart, the single metric wizard is used.
5262

5363
If the configured time range of the chart is relative, it is converted to
54-
absolute start and end times in the job configuration. If the conversion of these times
55-
fails, the whole time range from the index is used.
64+
absolute start and end times in the job configuration. If the conversion of
65+
these times fails, the whole time range from the index is used.
5666

5767

5868
[discrete]

0 commit comments

Comments
 (0)