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

# Functions

Document takes a document from Elasticsearch in JSON format and the contents of a Beat's fields.yml and validated the document's fields against it.
NewMapping extracts a mapping from a raw yaml format.

# Variables

ErrCannotConvert is returned when the document value cannot be converted to the expected Elasticsearch datatype.
ErrNotSupported is returned when an Elasticsearch type is not (yet) supported.

# Structs

Field is the representation of an Elasticsearch mapping field or property.
Mapping is the representation of the contents of an Elasticsearch index mapping.

# Type aliases

Prefix helps construct a field name in dotted format.