RousselTMLEARNING

Article · Elastic Agent: from discovery to expertise

Elastic Agent or Beats?

1. Comparison #

What actually changes.

Comparison table #

CriterionBeatsElastic Agent
InstallationOne binary per data typeA single agent
ConfigurationYAML files per hostCentral policy (Fleet) or standalone YAML
Pipelines and dashboardsInstalled by setupProvided by the integration
UpgradesManual, host by hostFrom Fleet, in batches
Security (EDR)NoElastic Defend
OpenTelemetryNoYes (EDOT mode, depending on version)
Filebeat, Metricbeat, Winlogbeat and Packetbeat replaced by integrations in one agent.

When to keep Beats? #

  • Highly customised configurations with no equivalent integration (exotic modules, complex processors).
  • Environments frozen on an old stack version.
  • Need for a minimal binary without a supervisor, e.g. in a very constrained image.

2. Migrating step by step #

With no loss or duplicates.

The method #

  1. Inventory the Beats, their modules and processors.
  2. Pick the equivalent integration for each module (System, Nginx, Windows, Custom Logs…).
  3. Create a test policy, carrying over file paths and added fields.
  4. Install the agent on a pilot host alongside the Beat and compare the documents produced.
  5. Stop the Beat, then roll out in batches.
Common mistake: Running Filebeat and the logs integration on the same files: every line is indexed twice. For continuity, recent versions offer a Filebeat registry state migration option: check it before switching.

Data and dashboards #

Beats write to filebeat-* or metricbeat-*, Elastic Agent to logs-* and metrics-* data streams. Update data views, alerting rules and custom dashboards that targeted the old indices.

📄 Elastic Agent or Beats? Choosing and migrating →

My progress

  • ⏱ Estimated time : ≈ 3 min

Sign in to track your progress and take notes. Sign in

💬 Questions about this lesson

No questions yet: be the first to ask for help or share your configuration.

Ask a question about this lesson →

Recommended Articles

Beats: going further (security, performance, Elastic Agent and migrating to Alloy)

Industrialize Filebeat, Metricbeat and the other Beats: secure outputs, processors, modules, tuni...

Elastic Agent: architecture, Fleet and integrations

Understand Elastic Agent: single collection agent, Fleet and Fleet Server, agent policies, integr...

Monitoring, upgrading and troubleshooting Elastic Agent

Operate an Elastic Agent fleet: states in Fleet, agent monitoring, batch upgrades, diagnostics, l...

Agent policies, integrations, data streams and pipelines

Build agent policies, add integrations (System, Nginx, Custom Logs), choose namespaces, customise...

Installing Fleet Server and enrolling Elastic Agents

Set up Fleet Server, create a policy, enroll Linux, Windows and Docker agents, understand tokens ...

Elastic Agent on Kubernetes

Deploy Elastic Agent on Kubernetes: Fleet-managed DaemonSet, Kubernetes integration, kube-state-m...

Standalone Elastic Agent, Logstash and Kafka outputs, and OpenTelemetry (EDOT)

Write a standalone configuration, ship to Logstash or Kafka, and use Elastic Agent as an OpenTele...

Elastic Agent in production: best practices

Elastic Agent best practices: security, policy organisation, volume control, Fleet Server high av...

Beats: Filebeat, Metricbeat, Winlogbeat and their configuration

Written version of the video lessons: role of each Beat, configuration structure, inputs, modules...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!