This repository is the home to the common libraries used by Elastic Agent and Beats.
Provided packages:
github.com/elastic/elastic-agent-libs/api/npipe
Provides an API for debugging information via named pipes.github.com/elastic/elastic-agent-libs/api
Provides an HTTP API for debugging information.github.com/elastic/elastic-agent-libs/atomic
Atomic operations for integer and boolean types.github.com/elastic/elastic-agent-libs/cloudid
is used for parsingcloud.id
andcloud.auth
when connecting to the Elastic stack.github.com/elastic/elastic-agent-libs/config
the previousconfig.go
file fromgithub.heygears.com/elastic/beats/v7/libbeat/common
. A minimal wrapper aroundgithub.heygears.com/elastic/go-ucfg
. It contains helpers for merging and accessing configuration objects and flags.github.com/elastic/elastic-agent-libs/file
is responsible for rotating and writing input and output files.github.com/elastic/elastic-agent-libs/filewatcher
Watches files and notifies if they have been modified.github.com/elastic/elastic-agent-libs/keystore
interface for keystores and file keystore implementation.github.com/elastic/elastic-agent-libs/kibana
Exposes the Kibana APIgithub.heygears.com/elastic/elastic-agent-libs/loader
Helpers for loading a main elastic-agent config file.github.com/elastic/elastic-agent-libs/logp/cfgwarn
provides logging utilities for warning users about deprecated settings.github.com/elastic/elastic-agent-libs/logp
is the well known logger from libbeat.github.com/elastic/elastic-agent-libs/mapstr
is the oldgithub.heygears.com/elastic/beats/v7/libbeat/common.MapStr
. It is an extra layer on top ofmap[string]interface{}
.github.heygears.com/elastic/elastic-agent-libs/monitoring
Basic monitoring functionality used by Beats and Agent.github.com/elastic/elastic-agent-libs/safemapstr
contains safe operations formapstr.M
.github.heygears.com/elastic/elastic-agent-libs/service
utilities to inspect services and collect debug data.github.com/elastic/elastic-agent-libs/str
the previousstringset.go
file fromgithub.heygears.com/elastic/beats/v7/libbeat/common
. It provides a string set implementation.github.com/elastic/elastic-agent-libs/testing
Testing helpers for network communication and outputs.github.com/elastic/elastic-agent-libs/transport/tlscommon
TLS configuration and validation, CA pinning, etc.github.com/elastic/elastic-agent-libs/transport
Dialers for testing, TLS, etc.