This repository is the home to the common libraries used by Elastic Agent and Beats.
Provided packages:
github.com/elastic/elastic-agent-libs/api/npipeProvides an API for debugging information via named pipes.github.com/elastic/elastic-agent-libs/apiProvides an HTTP API for debugging information.github.com/elastic/elastic-agent-libs/atomicAtomic operations for integer and boolean types.github.com/elastic/elastic-agent-libs/cloudidis used for parsingcloud.idandcloud.authwhen connecting to the Elastic stack.github.com/elastic/elastic-agent-libs/configthe previousconfig.gofile fromgithub.com/elastic/beats/v7/libbeat/common. A minimal wrapper aroundgithub.com/elastic/go-ucfg. It contains helpers for merging and accessing configuration objects and flags.github.com/elastic/elastic-agent-libs/fileis responsible for rotating and writing input and output files.github.com/elastic/elastic-agent-libs/filewatcherWatches files and notifies if they have been modified.github.com/elastic/elastic-agent-libs/keystoreinterface for keystores and file keystore implementation.github.com/elastic/elastic-agent-libs/kibanaExposes the Kibana APIgithub.com/elastic/elastic-agent-libs/loaderHelpers for loading a main elastic-agent config file.github.com/elastic/elastic-agent-libs/logp/cfgwarnprovides logging utilities for warning users about deprecated settings.github.com/elastic/elastic-agent-libs/logpis the well known logger from libbeat.github.com/elastic/elastic-agent-libs/mapstris the oldgithub.com/elastic/beats/v7/libbeat/common.MapStr. It is an extra layer on top ofmap[string]interface{}.github.com/elastic/elastic-agent-libs/monitoringBasic monitoring functionality used by Beats and Agent.github.com/elastic/elastic-agent-libs/safemapstrcontains safe operations formapstr.M.github.com/elastic/elastic-agent-libs/serviceutilities to inspect services and collect debug data.github.com/elastic/elastic-agent-libs/strthe previousstringset.gofile fromgithub.com/elastic/beats/v7/libbeat/common. It provides a string set implementation.github.com/elastic/elastic-agent-libs/testingTesting helpers for network communication and outputs.github.com/elastic/elastic-agent-libs/transport/tlscommonTLS configuration and validation, CA pinning, etc.github.com/elastic/elastic-agent-libs/transportDialers for testing, TLS, etc.