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

# Functions

DefaultConfig for index template.
New creates a new template instance.
NewESLoader creates a new template loader for ES.
NewFileLoader creates a new template loader for the given file.

# Constants

DefaultField controls the default value for the default_field flag.

# Structs

ESLoader implements Loader interface for loading templates to Elasticsearch.
FileLoader implements Loader interface for loading templates to a File.
Processor struct to process fields to template.
Template holds information for the ES template.
TemplateConfig holds config information about the Elasticsearch template.
TemplateSettings are part of the Elasticsearch template and hold index and source specific information.

# Interfaces

ESClient is a subset of the Elasticsearch client API capable of loading the template.
FileClient defines the minimal interface required for the FileLoader.
Loader interface for loading templates.

# Type aliases