Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostMetadata ¶
type HostMetadata struct { helper.TransformerOperator helper.HostIdentifier }
HostMetadata is an operator that can add host metadata to incoming entries
type HostMetadataConfig ¶
type HostMetadataConfig struct { helper.TransformerConfig `yaml:",inline"` helper.HostIdentifierConfig `yaml:",inline"` }
HostMetadataConfig is the configuration of a host metadata operator
func NewHostMetadataConfig ¶
func NewHostMetadataConfig(operatorID string) *HostMetadataConfig
NewHostMetadataConfig returns a HostMetadataConfig with default values
func (HostMetadataConfig) Build ¶
func (c HostMetadataConfig) Build(context operator.BuildContext) ([]operator.Operator, error)
Build will build an operator from the supplied configuration
Click to show internal directories.
Click to hide internal directories.