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.aaakk.us.kg/elastic/beats/v7/libbeat/common
. A minimal wrapper aroundgithub.aaakk.us.kg/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.aaakk.us.kg/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.aaakk.us.kg/elastic/beats/v7/libbeat/common.MapStr
. It is an extra layer on top ofmap[string]interface{}
.github.aaakk.us.kg/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.aaakk.us.kg/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.aaakk.us.kg/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.