package
0.0.3
Repository: https://github.com/useproject/origin-elastic.git
Documentation: pkg.go.dev

# Packages

Package mapstriface contains utilities for transforming map[string]interface{} objects into metricbeat events.
Package mapstrstr contains utilities for transforming map[string]string objects into metricbeat events.

# Functions

No description provided by the author
No description provided by the author
The optional flag suppresses the error message in case the key doesn't exist or results in an error.
setOptions adds the optional flags to the Conv object.

# Constants

No description provided by the author
No description provided by the author

# Structs

A Conv object represents a conversion mechanism from the data map to the event map.
No description provided by the author

# Interfaces

Mapper interface represents a valid type to be used in a schema.

# Type aliases

Convertor function type.
No description provided by the author
No description provided by the author
implements Mapper interface for structure.
Schema describes how a map[string]interface{} object can be parsed and converted into an event.
SchemaOption is for adding optional parameters to the conversion functions.