elastic-agent-libs

module
v0.9.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: Apache-2.0

README

elastic-agent-libs

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 parsing cloud.id and cloud.auth when connecting to the Elastic stack.
  • github.com/elastic/elastic-agent-libs/config the previous config.go file from github.com/elastic/beats/v7/libbeat/common. A minimal wrapper around github.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 API
  • github.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 old github.com/elastic/beats/v7/libbeat/common.MapStr. It is an extra layer on top of map[string]interface{}.
  • github.com/elastic/elastic-agent-libs/monitoring Basic monitoring functionality used by Beats and Agent.
  • github.com/elastic/elastic-agent-libs/safemapstr contains safe operations for mapstr.M.
  • github.com/elastic/elastic-agent-libs/service utilities to inspect services and collect debug data.
  • github.com/elastic/elastic-agent-libs/str the previous stringset.go file from github.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.

Directories

Path Synopsis
api
Package atomic provides common primitive types with atomic accessors.
Package atomic provides common primitive types with atomic accessors.
Package cloudid contains functions for parsing the cloud.id and cloud.auth settings and modifying the configuration to take them into account.
Package cloudid contains functions for parsing the cloud.id and cloud.auth settings and modifying the configuration to take them into account.
dev-tools
Package paths provides a common way to handle paths configuration for all Beats.
Package paths provides a common way to handle paths configuration for all Beats.
processors
transform
upgrade

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL