Version: SG FLX
Community

Using Search Guard with X-Pack Machine Learning

Search Guard is compatible with the X-Pack Machine Learning component.

This documentation assumes that you already installed and configured Kibana and the Search Guard Kibana plugin.

Elasticsearch: Enable Machine Learning

In elasticsearch.yml, disable X-Pack Security and enable X-Pack Machine Learning:

xpack.security.enabled: false
xpack.ml.enabled: true
...

Elasticsearch: Add the machine learning user

For using X-Pack Machine learning, the respective user must have the built-in SGS_XP_MACHINE_LEARNING and SGS_KIBANA_USER role assigned.

Kibana: Enable X-Pack Machine Learning

In kibana.yml, disable X-Pack Security and enable X-Pack Machine Learning:

xpack.security.enabled: false
xpack.ml.enabled: true
...

Note: If you are using Elasticsearch 8, properties like xpack.security.enabled, xpack.ml.enabled are now configured only in elasticsearch.yml and should not be present in kibana.yml config file. Please, refer to ES8 migration guide.



Not what you were looking for? Try the search.