Skip to content

Commit

Permalink
Add a note to meta generator config settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Pérez-Aradros Herce committed Jul 6, 2018
1 parent a2707a9 commit 7d3d613
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions libbeat/common/kubernetes/metadata.go
Expand Up @@ -38,11 +38,13 @@ type MetaGenerator interface {

// MetaGeneratorConfig settings
type MetaGeneratorConfig struct {
IncludeLabels []string `config:"include_labels"`
ExcludeLabels []string `config:"exclude_labels"`
IncludeAnnotations []string `config:"include_annotations"`
IncludeUID bool `config:"include_uid"`
IncludeCreatorMetadata bool `config:"include_creator_metadata"`
IncludeLabels []string `config:"include_labels"`
ExcludeLabels []string `config:"exclude_labels"`
IncludeAnnotations []string `config:"include_annotations"`

// Undocumented settings, to be deprecated in favor of `drop_fields` processor:
IncludeUID bool `config:"include_uid"`
IncludeCreatorMetadata bool `config:"include_creator_metadata"`
}

type metaGenerator = MetaGeneratorConfig
Expand Down

0 comments on commit 7d3d613

Please sign in to comment.