2018-06-19 16:57:10 -04:00
|
|
|
[role="xpack"]
|
2017-05-19 16:40:50 -04:00
|
|
|
[[ml-configuring]]
|
2018-06-19 16:57:10 -04:00
|
|
|
== Configuring machine learning
|
2017-05-19 16:40:50 -04:00
|
|
|
|
|
|
|
If you want to use {xpackml} features, there must be at least one {ml} node in
|
|
|
|
your cluster and all master-eligible nodes must have {ml} enabled. By default,
|
2018-05-31 20:02:18 -04:00
|
|
|
all nodes are {ml} nodes. For more information about these settings, see
|
|
|
|
{ref}/modules-node.html#modules-node-xpack[{ml} nodes].
|
2017-05-19 16:40:50 -04:00
|
|
|
|
|
|
|
To use the {xpackml} features to analyze your data, you must create a job and
|
|
|
|
send your data to that job.
|
|
|
|
|
|
|
|
* If your data is stored in {es}:
|
|
|
|
|
|
|
|
** You can create a {dfeed}, which retrieves data from {es} for analysis.
|
|
|
|
** You can use {kib} to expedite the creation of jobs and {dfeeds}.
|
|
|
|
|
2017-06-19 22:31:39 -04:00
|
|
|
* If your data is not stored in {es}, you can
|
|
|
|
{ref}/ml-post-data.html[POST data] from any source directly to an API.
|
2017-05-19 16:40:50 -04:00
|
|
|
|
|
|
|
The results of {ml} analysis are stored in {es} and you can use {kib} to help
|
|
|
|
you visualize and explore the results.
|
|
|
|
|
|
|
|
For a tutorial that walks you through these configuration steps,
|
|
|
|
see <<ml-getting-started>>.
|
|
|
|
|
2017-05-23 17:34:21 -04:00
|
|
|
Though it is quite simple to analyze your data and provide quick {ml} results,
|
|
|
|
gaining deep insights might require some additional planning and configuration.
|
|
|
|
The scenarios in this section describe some best practices for generating useful
|
|
|
|
{ml} results and insights from your data.
|
2017-05-19 16:40:50 -04:00
|
|
|
|
2017-08-15 13:32:11 -04:00
|
|
|
* <<ml-configuring-url>>
|
2017-05-23 17:34:21 -04:00
|
|
|
* <<ml-configuring-aggregation>>
|
2017-06-12 13:41:14 -04:00
|
|
|
* <<ml-configuring-categories>>
|
2018-12-18 20:14:18 -05:00
|
|
|
* <<ml-configuring-detector-custom-rules>>
|
2017-06-23 14:10:46 -04:00
|
|
|
* <<ml-configuring-pop>>
|
2017-06-23 14:42:37 -04:00
|
|
|
* <<ml-configuring-transform>>
|
2018-12-18 20:14:18 -05:00
|
|
|
* <<ml-delayed-data-detection>>
|
2017-05-19 16:40:50 -04:00
|
|
|
|
2018-08-31 14:56:26 -04:00
|
|
|
:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/ml/customurl.asciidoc
|
2017-08-15 13:32:11 -04:00
|
|
|
include::customurl.asciidoc[]
|
2018-05-23 12:37:55 -04:00
|
|
|
|
2018-08-31 14:56:26 -04:00
|
|
|
:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/ml/aggregations.asciidoc
|
2017-05-23 17:34:21 -04:00
|
|
|
include::aggregations.asciidoc[]
|
2018-05-23 12:37:55 -04:00
|
|
|
|
2018-12-18 20:14:18 -05:00
|
|
|
:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/ml/detector-custom-rules.asciidoc
|
|
|
|
include::detector-custom-rules.asciidoc[]
|
|
|
|
|
2018-08-31 14:56:26 -04:00
|
|
|
:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/ml/categories.asciidoc
|
2017-06-12 13:41:14 -04:00
|
|
|
include::categories.asciidoc[]
|
2018-05-23 12:37:55 -04:00
|
|
|
|
2018-08-31 14:56:26 -04:00
|
|
|
:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/ml/populations.asciidoc
|
2017-06-23 13:53:16 -04:00
|
|
|
include::populations.asciidoc[]
|
2018-05-23 12:37:55 -04:00
|
|
|
|
2018-08-31 14:56:26 -04:00
|
|
|
:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/ml/transforms.asciidoc
|
2017-06-23 14:42:37 -04:00
|
|
|
include::transforms.asciidoc[]
|
2018-07-25 11:10:32 -04:00
|
|
|
|
2018-12-18 20:14:18 -05:00
|
|
|
:edit_url: https://github.com/elastic/elasticsearch/edit/{branch}/docs/reference/ml/delayed-data-detection.asciidoc
|
|
|
|
include::delayed-data-detection.asciidoc[]
|