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

# Functions

New constructs a new add_kubernetes_metadata processor.
NewContainerIndexer initializes and returns a ContainerIndexer.
NewIndexers builds indexers object.
NewIPPortIndexer creates and returns a new indexer for pod IP & ports.
NewPodNameIndexer initializes and returns a PodNameIndexer.
NewPodUIDIndexer initializes and returns a PodUIDIndexer.
NewRegister creates and returns a new Register.

# Constants

# Variables

Indexing is the singleton Register instance where all Indexers and Matchers are stored.

# Structs

ContainerIndexer indexes pods based on all their containers IDs.
IPPortIndexer indexes pods based on all their host:port combinations.
MetadataIndex holds a pair of index -> metadata info.
PodNameIndexer implements default indexer based on pod name.
PodUIDIndexer indexes pods based on the pod UID.
Register contains Indexer and Matchers to use on pod indexing and event matching.

# Interfaces

Indexer take known pods and generate all the metadata we need to enrich events in a efficient way.
Matcher takes a new event and returns the index.

# Type aliases

IndexerConstructor builds a new indexer from its settings.