Version: SG FLX
Community
Using Search Guard with X-Pack Machine Learning
Content
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
...