package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

HaveXpackML checks whether X-pack is installed and has Machine Learning enabled.
ImportMachineLearningJob uploads the job and datafeed configuration to ES/xpack.
IsCompatible checks if the version of Elasticsearch is supported.
SetupModule creates ML jobs, data feeds and dashboards for modules.

# Structs

MLConfig contains the required configuration for loading one job and the associated datafeed.
MLResponse stores the relevant parts of the response from Kibana to check for errors.

# Interfaces

MLLoader is a subset of the Elasticsearch client API capable of loading the ML configs.
MLSetupper is a subset of the Kibana client API capable of setting up ML objects.