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

# Functions

GenerateHints parses annotations based on a prefix and sets up hints that can be picked up by individual Beats.
GetConfigs takes in a key and returns a list of configs as a slice of MapStr.
GetContainerID returns the id of a container.
GetContainerName returns the name of a container.
GetHintAsConfigs can read a hint in the form of a stringified JSON and return a common.MapStr.
GetHintAsList takes a hint and returns the value as lists.
GetHintMapStr takes a hint and returns a MapStr.
GetHintsAsList gets a set of hints and tries to convert them into a list of hints.
GetHintString takes a hint and returns its value as a string.
GetProcessors gets processor definitions from the hints and returns a list of configs as a MapStr.
IsDisabled will return true when 'enabled' is **explicitly** set to false.
IsEnabled will return true when 'enabled' is **explicitly** set to true.
Plugin accepts a BuilderConstructor to be registered as a plugin.