talira

Elastic Agent

Single agent. One-click integrations.

source availableElastic-2.0self-hostablefree

Elastic Agent is Elastic's single agent for collecting logs, metrics and other data from a host, or from remote services and hardware, and sending it to Elasticsearch, Logstash, Kafka or a remote Elasticsearch cluster; with the Elastic Defend integration it also protects macOS and Windows hosts from malware. Each agent runs one policy that names its integrations (for Nginx, AWS, log files and hundreds more), which ship with ingest pipelines and dashboards, and Fleet, a Kibana app backed by Fleet Server, enrolls, configures and upgrades agents centrally; standalone mode configures an agent locally in YAML. It is one binary designed to provide what the various Beats do, and it runs them as components: Beat inputs run by default as receivers inside its embedded OpenTelemetry collector (EDOT), or as subprocesses when they can't be translated. It runs on Linux, macOS, Windows, Docker and Kubernetes and is licensed under the Elastic License 2.0; the agent, Fleet and Fleet Server are in Elastic's free Basic tier, while scheduled upgrades and per-policy outputs need Platinum.

Problems it solves

  • replace Filebeat, Metricbeat and Winlogbeat on every server with one agent
  • install one agent per host that ships logs and metrics to Elasticsearch
  • manage thousands of log shippers from a central UI instead of editing YAML on each server
  • upgrade and reconfigure our monitoring agents remotely without logging in to each host
  • start collecting Nginx, MySQL or AWS logs with ready-made parsing and dashboards in Kibana
  • add endpoint malware protection to the same agent that collects our logs
  • ship Kubernetes container logs and node metrics into the ELK stack
  • monitor Windows event logs and Linux system metrics with the same agent
  • collect data from cloud services and network devices that can't run an agent themselves
  • send host data to Logstash or Kafka instead of straight to Elasticsearch
  • run a log collector as an OpenTelemetry collector without giving up Elastic integrations
  • configure agents in a YAML file kept in Git for an air-gapped or infrastructure-as-code setup
  • roll out a new agent version gradually across our fleet
  • free agent for sending logs and metrics to a self-managed Elasticsearch cluster
  • see which monitoring agents are unhealthy or haven't checked in recently

View all 16 problems

Features

  • one agent for logs, metrics and other host data
  • integrations with ingest pipelines and dashboards, from the Elastic Package Registry
  • Fleet: central enrollment, policies, health and remote upgrades in Kibana
  • Fleet API: anything in the Fleet UI can be done through the API
  • Fleet Server, self-managed or hosted on Elastic Cloud
  • standalone mode configured with a local YAML file
  • outputs: Elasticsearch, Elastic Cloud, Logstash, Kafka and remote Elasticsearch
  • Elastic Defend integration for malware prevention on macOS and Windows
  • embedded EDOT OpenTelemetry collector; otel mode takes standard Collector configuration
  • runs Beat inputs as collector receivers or subprocesses
View 7 more
  • data streams with per-integration lifecycle policies
  • unprivileged mode
  • packages for Linux (DEB, RPM, tar.gz), macOS and Windows (MSI, zip)
  • Docker images and Kubernetes deployment with Helm, manifests or ECK
  • FIPS mode
  • scheduled and automatic agent upgrades (Platinum and Enterprise)
  • per-policy and per-integration output assignment (Platinum, Enterprise)

Limitations

  • Doesn't read credentials from a local keystore: Elastic Agent stores credentials in its agent policy, where Beats can use a keystore1
  • Doesn't spool data to local disk: Elastic says this is being considered for development1
  • Doesn't send data to Redis, files or the console: its outputs are Elasticsearch, Logstash, Kafka and remote Elasticsearch1
  • Doesn't keep Fleet-managed policies in version control: only standalone Elastic Agent can be managed as code1
  • Doesn't run more than one Elastic Agent per host: containerized agents with separate volume mounts are the exception2

Capabilities

Has an APIplan not known
Has a command line toolplan not known

Alternatives

The same job

These do what Elastic Agent does.

  1. Beats Lightweight data shippers
  2. Fluent Bit Fast and lightweight telemetry agent for logs, metrics and traces
  3. Vector A lightweight, ultra-fast tool for building observability pipelines
  4. Datadog Agent Main repository for Datadog Agent
  5. Grafana Alloy OpenTelemetry Collector distribution with programmable pipelines
  6. OpenTelemetry Collector Vendor-agnostic way to receive, process and export telemetry data

Compare Elastic Agent with the top 3