package
6.8.15+incompatible
Repository: https://github.com/agilebits/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.
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.