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

# Packages

Package instance provides the functions required to manage the life-cycle of a Beat.

# Functions

GenModulesCmd initializes a command to manage a modules.d folder, it offers list, enable and siable actions.
GenRootCmdWithSettings returns the root command to use for your beat.
GenVersionCmd generates the command version for a Beat.

# Constants

DashboardKey used for registering dashboards in setup cmd.
ILMPolicyKey used for loading ilm in setup cmd Deprecated: use IndexManagementKey instead.
IndexManagementKey used for loading all components related to ES index management in setup cmd.
MachineLearningKey used for registering ml jobs in setup cmd.
PipelineKey used for registering pipelines in setup cmd.
TemplateKey used for loading template in setup cmd Deprecated: use IndexManagementKey instead.

# Structs

BeatsRootCmd handles all application command line interface, parses user flags and runs subcommands.

# Interfaces

ModulesManager interface provides all actions needed to implement modules command (to list, enable & disable modules).