RousselTMLEARNING

Observability

Elastic Agent or Beats? Choosing and migrating

Compare Elastic Agent and Beats (Filebeat, Metricbeat, Winlogbeat), know when to keep Beats, and migrate step by step without losing data.

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.

Related articles

Elastic Agent: architecture, Fleet and integrations

Understand Elastic Agent: single collection agent, Fleet and Fleet Server, agent policies, integrations, data…

Installing Fleet Server and enrolling Elastic Agents

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

Agent policies, integrations, data streams and pipelines

Build agent policies, add integrations (System, Nginx, Custom Logs), choose namespaces, customise ingestion w…

Keep learning

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!