Configuring machine learning

edit

If you want to use machine learning features, there must be at least one machine learning node in your cluster and all master-eligible nodes must have machine learning enabled. By default, all nodes are machine learning nodes. For more information about these settings, see machine learning nodes.

To use the machine learning features to analyze your data, you must create a job and send your data to that job.

  • If your data is stored in Elasticsearch:

    • You can create a datafeed, which retrieves data from Elasticsearch for analysis.
    • You can use Kibana to expedite the creation of jobs and datafeeds.
  • If your data is not stored in Elasticsearch, you can POST data from any source directly to an API.

The results of machine learning analysis are stored in Elasticsearch and you can use Kibana to help you visualize and explore the results.

For a tutorial that walks you through these configuration steps, see Getting started.

Though it is quite simple to analyze your data and provide quick machine learning results, gaining deep insights might require some additional planning and configuration. The scenarios in this section describe some best practices for generating useful machine learning results and insights from your data.