Technical requirements
To use machine learning features, ensure that the Elasticsearch cluster contains at least one node with the role ml
. This enables the running of machine learning jobs on the cluster:
- If you're running with default settings on a single node, this role should already be enabled, and no further configuration is necessary.
- If you're running nodes with custom roles, ensure the role is added to
elasticsearch.yml
, as follows:node.roles: [data, ml]