You do not need to configure any settings to use machine learning. It is enabled by default.
General Machine Learning Settingsedit
true(default) to enable machine learning.
If set to
kibana.yml, the machine learning icon is hidden in this Kibana instance. If
xpack.ml.enabledis set to
elasticsearch.yml, however, you can still use the machine learning APIs. To disable machine learning entirely, see the Elasticsearch Machine Learning Settings.