Using Filebeat and other Beats OSS with OpenSearch

Beats OSS 7.12.1 is the latest release line documented for OpenSearch, and 7.10.2 is suggested when ingest pipelines are in use. This page covers the setup, security, testing and when to change collectors.

On this page

Which Beats OSS agents still work with OpenSearch

If your team already runs Filebeat or another Beat and wants to keep it while moving logs into OpenSearch, the короткий answer from the OpenSearch tools documentation is this: Filebeat, Metricbeat, Packetbeat, Heartbeat, Winlogbeat and Auditbeat OSS 7.12.1 are the latest Beats OSS versions with OpenSearch compatibility. Those are the newest releases the docs list, so any plan to keep Beats agents should start from that version line rather than from whatever the package repository offers by default. The same documentation suggests using the 7.10.2 Beats versions when your pipeline relies on ingest pipelines, because some users have reported ingest pipeline issues with the 7.12.1 builds.

Treat this as a compatibility position, not a long-term support commitment. The docs describe which versions work with OpenSearch today, but they do not promise that these Beats releases will receive security fixes or bug fixes for the life of your cluster. Ask the OpenSearch community or your own vendor contact how the 7.x Beats line is patched, and record the answer in your risk review. Also confirm which Beats agent and which OpenSearch version your environment will run together in staging before any production rollout, since the docs are the starting point for that test, not the test itself.

The practical decision is whether your agents need ingest pipelines. If they do not, 7.12.1 is the first version to test. If they do, plan the 7.10.2 path and check each pipeline you depend on, such as grok parsing, geoip enrichment or field renaming, against the agent version you pick. Keep a written list of the Beats versions, their installed host locations and the pipeline definitions they call, so that a later decision to move to Fluent Bit or Data Prepper has a clear inventory to work from.

What you need before installing Beats OSS 7.12.1

Beats OSS 7.12.1 is the last release line with OpenSearch compatibility, so the version choices come before any package is installed. The cards below cover the decisions and checks that connect the cluster, each host, the certificates and the people who will maintain the configuration.

Target OpenSearch cluster version

Confirm which OpenSearch version the team will run before choosing a Beats build. Check the OpenSearch releases page for the versions currently in maintenance, since a cluster on an unmaintained line leaves the agents and the cluster both exposed to unpatched issues. Record the minor version so the Beats version, the pipeline plan and the upgrade path can be checked against it.

Releases page

Beats OSS build and its source

Use Beats OSS 7.12.1 builds, the latest Beats OSS versions with OpenSearch compatibility, and obtain them from a source your security team has approved. Confirm that you are installing the OSS distribution, not the default Elastic build, and keep the exact package name and checksum in your change record. Plan the 7.10.2 variants as a fallback if ingest pipelines misbehave.

OpenSearch tools docs

Host operating system and package policy

Confirm the operating system family, version and architecture on every host that will run a Beats agent. Check whether your package manager policy allows installing a 2021-era package and whether a vulnerability scanner will flag it. Document who approves exceptions, and whether packages are mirrored into an internal repository for offline installs.

Network paths from each host

Map a route from every host to the OpenSearch endpoints the agents will call, including any load balancer or coordinating node addresses. Confirm firewall rules in both directions for the ports your cluster listens on and check proxies that may rewrite or block traffic. Test each path from the host itself, not from a workstation, before the agents are deployed.

TLS certificates and CA trust chain

Confirm which certificate authority issues the cluster certificates and that the full chain is available to each host. Decide where the CA file lives on each host, how it is updated during rotation, and whether the Beats configuration verifies the server certificate or only the chain. Expired or untrusted certificates are a common cause of agents that install cleanly but never ship data.

Named owner for Beats configuration

Assign one person or team as the owner of the Beats configuration files, the credentials they reference and the change approval for each host. Without a named owner, configuration drift across hosts is hard to detect and version pinning is easy to lose during routine patching. The owner should also confirm who receives alerts when an agent stops sending data.

Choosing between 7.12.1 and 7.10.2 Beats for ingest pipelines

If your Beats send events straight to an index and no ingest pipeline runs on the cluster, the 7.12.1 line is the version the OpenSearch tools docs list as the latest Beats OSS release with OpenSearch compatibility. Filebeat, Metricbeat, Packetbeat, Heartbeat, Winlogbeat and Auditbeat OSS 7.12.1 all belong to that group, so most teams on this path start there. Your work is mainly to confirm that events arrive in the index your dashboards and alerts query, with the field types you expect.

  • Pick the OSS build of each Beat: Deploy the OSS 7.12.1 package for every agent you run, and record the exact patch version on each host so your inventory matches the documented line.
  • Confirm the index target: Check that the output block points to the index name, alias or data stream your searches use, and that events land there without extra routing.
  • Check mappings before volume grows: Verify that fields created from Beat events match what your detections and dashboards expect, because a wrong type is cheaper to fix on a small test set.
  • Soak test one host per Beat: Run one agent of each type for a defined period and compare event counts at the source with counts in the index.
  • Keep a rollback path: Retain the previous package and configuration so a failing host can return to its prior state quickly.

Before rollout, confirm that event counts, timestamps and field types match on every Beat you deploy.

How Beats OSS ships events into OpenSearch

The path starts on the host, where a Beat such as Filebeat or Metricbeat reads log sources through its modules and runs processors on each event. The Beat then sends events over TLS across the boundary between the host network and the cluster network to a coordinating or ingest node, where an optional ingest pipeline can parse or enrich them before they are indexed. Check that the Beat's credentials are scoped to write-only index access, that TLS certificates are verified, and that the pipeline version matches the Beat version you run.

Events flow from host-side Beats through a TLS boundary into OpenSearch indices and Dashboards.

Configuring Filebeat OSS to send events to OpenSearch

This sequence takes one test host from a Filebeat OSS install to a verified stream of events in a non-production OpenSearch index, with TLS trust in place and each step checked before the next begins.

  1. Choose the Beats OSS version line

    Confirm which Beats OSS build you will install before touching a host. The supplied facts list Filebeat OSS 7.12.1 as the latest Beats OSS release with OpenSearch compatibility, and state that some users report ingest pipeline issues with those versions, with the docs suggesting the 7.10.2 Beats versions when you use ingest pipelines. Decide whether your collection needs ingest pipelines, then record the exact version. Check the OpenSearch tools docs for the output setting and the compatibility setting name that match that version. Done when you have a written version number and the matching configuration key names.

  2. Install Filebeat OSS on one test host

    A platform engineer installs the chosen Filebeat OSS package on a single non-production host, using the package method your team already uses for that operating system. Do not install on a production server yet. Confirm the installed version with the Filebeat version command and match it to the version you recorded in the previous step. Done when the version output matches the recorded build and the service is installed but not yet started.

  3. Set the OpenSearch output endpoint

    Edit the Filebeat configuration file, usually filebeat.yml, and set the output block to your OpenSearch endpoint. Use the output setting name confirmed in the OpenSearch tools docs for your version, and include the cluster URL, the index name for this test, and the credentials your cluster expects. Use a dedicated test user with write access only to the test index. Done when the file is saved and the endpoint and index values match your test environment.

  4. Add CA and client trust settings

    Add the certificate authority that signed your OpenSearch HTTP certificate to the Filebeat SSL settings, and set the certificate verification mode your security team has approved. If the cluster requires client certificates, add the client certificate and key paths as well. Store key material with restrictive file permissions and keep it out of shared configuration repositories. Done when the Filebeat configuration test command reports that the output connection and TLS settings are valid.

  5. Reference an ingest pipeline only if required

    Add a pipeline reference to the output block only when your chosen version line and your parsing design require it. If you use the 7.10.2 Beats line for ingest pipelines, confirm the pipeline is already loaded on the cluster and that its name matches the reference exactly. If you do not need a pipeline, leave this setting out to avoid the reported ingest pipeline issues. Done when the cluster lists the expected pipeline, or when you have documented that no pipeline is used.

  6. Enable one module and run the setup

    Enable a single module that matches a log source you already understand, such as the system module, using the module enable command for your Filebeat build. Run the setup step only if your team has agreed on index templates and dashboards for this test. Review the module configuration file for the paths it reads. Done when the module list shows the module as enabled and the configuration test passes again.

  7. Start Filebeat and confirm events arrive

    Start the Filebeat service on the test host, then watch its log output for connection errors. Query the test index in OpenSearch Dashboards or with a count request, and confirm that new documents appear with timestamps from the host. Check cluster health to confirm the cluster is green or yellow with no new rejections. Done when recent events from the test host are visible in the non-production index and cluster health has not degraded. Record the version, pipeline choice and module before moving toward production.

How Beats fields map to OpenSearch indexes and roles

This table traces one Beat from its output to the index it writes, the template and pipeline that shape it, and the role that lets the agent write. Read each row as a question to answer for your cluster before the agent goes live, and treat any default name or template behavior as something to confirm in the tools docs for your installed version.

ItemWhat it covers for Filebeat or another BeatWhere it lands in OpenSearchWho owns it
Index name or patternThe index name or pattern the Beat writes to, usually set by the output configuration and a versioned or date-based suffixA concrete index or data stream name matching the configured pattern on the clusterPlatform team sets the pattern, agent owner confirms it matches the module
Index template and mappingsWhether the Beat loads its own template and field mappings at startup, and whether that is disabled for a managed clusterIndex template applied when a new index matches the pattern, controlling field typesPlatform team, with a review of any template the Beat loads automatically
Ingest pipeline processingAny ingest pipeline the module calls, and the 7.10.2 versions recommended when pipelines cause issues in 7.12.1Pipeline runs on the ingest node before documents are indexedPlatform team maintains pipeline definitions, agent owner validates parsed fields
Field set emitted by the moduleThe fields the chosen module produces, such as host, event and message fields, which vary by Beat and moduleStored in the index with the mapping applied, searchable in OpenSearch DashboardsSecurity or logging team defines which fields they need for searches and retention
Agent user roleThe OpenSearch role mapped to the agent user, which should allow writes to the target pattern and nothing broaderSecurity plugin role with index permissions on the agent's write patternSecurity team defines and reviews the role and its role mapping
Index permissions and scopeWhether the role also allows index creation, template changes or cluster-level actions the agent does not needCluster and index permissions in the Security plugin configurationSecurity team, reviewed against the agent's documented needs
Version pairingThe Beat version, the OpenSearch version and any ingest pipeline dependency, confirmed together before rolloutCompatibility is checked at the cluster and agent configuration, not in the index itselfPlatform team records the pairing and re-tests on each upgrade

Securing Beats credentials, transport and write permissions

Each Beat is a client that writes into your cluster, so it needs the same scrutiny as any service account. The cards below cover the write permissions, transport checks, credential handling, index scoping, audit trail and rotation that together limit what a compromised agent host can do.

Dedicated write-only role per Beat

Create one role for each Beat type, such as Filebeat or Metricbeat, and one user or API identity per host group. Grant only the cluster privileges needed to load templates and bulk write, and avoid reusing the admin account or a shared role across agents. Confirm the exact privilege names against the OpenSearch Security docs for your cluster version before you write the role definitions.

Security docs

Verify the cluster certificate on every host

Configure each Beat to trust your internal certificate authority and verify the cluster certificate rather than disabling verification to get past a connection error. Check this on every host, including hosts built from older images, because a single unverified agent can accept a spoofed endpoint. Confirm the TLS setting names for your Beat version in its configuration reference.

Keep credentials out of the configuration file

Where the Beat supports a keystore, store the output credentials there and reference them by name in the YAML, so the file can be shared with configuration management without exposing passwords. Restrict file permissions on the configuration and keystore to the service account. Confirm which secret mechanisms your Beat version supports before you standardize on one.

Scope index patterns per agent

Limit each role to the index patterns that agent actually writes, such as a dated log prefix for one application group, so a compromised Filebeat host cannot overwrite system or security indices. Include the index template and ingest pipeline permissions in the same review. Test a denied write on purpose to confirm the boundary holds.

Audit agent write activity

Enable the OpenSearch Security audit log and decide which categories you need for agent traffic, such as failed authentication and write requests from Beat identities. Send the audit output to storage that the agent hosts cannot modify. Confirm the audit setting names and retention approach for your version before you rely on them for investigations.

Rotate agent credentials on a schedule

Document an owner, a rotation interval and a procedure for each agent identity, and rotate by adding the new credential, rolling the agents, then removing the old one. Test the procedure on a non-production cluster first so that a rotation does not stop log ingestion. Ask your security team how rotation fits your existing identity and secrets policy.

Common Beats OSS failures with OpenSearch and how to fix them

This table pairs each common symptom with its most likely cause and the first check to run, so you can triage a Beat before changing configuration. Work through the rows in order, since the cluster-side checks often reveal the problem faster than the agent logs. The main takeaway is that most failures trace back to version, role or template settings that can be verified in minutes.

SymptomLikely causeFirst fix to check
Events accepted but missing from pipeline outputIngest pipeline errors on some Beats 7.12.1 builds, as some users have reportedConfirm the Beat version and check the pipeline's failure handling; test with the 7.10.2 Beat build that the docs suggest for ingest pipelines
Certificate verification error on the output connectionThe CA that signed the cluster's TLS certificate is not in the Beat's ssl.certificate_authorities list, or the hostname does not matchConfirm the CA path in the Beat config and test the chain with the host name the Beat uses to connect
Authentication failure from the agent accountThe role mapped to the Beat user lacks write or index-creation permissions on the target indicesCheck the user's role mapping in the Security plugin and confirm it grants write access to the Beat's index pattern
Template or mapping conflict on Beat fieldsAn existing index template or field mapping has a different type from a field the Beat sends, so documents are rejectedCompare the index template with the Beat's setup output and check the rejected document errors for field type mismatches
Version mismatch between Beat and clusterThe Beat build is newer than the OpenSearch version supports, or the compatibility setting was not appliedConfirm the Beat build version against the OpenSearch tools documentation and check the version-reporting setting in the Beat config
Beat stops shipping after host rebootThe service is not enabled to start at boot, or its data or registry path changed, so it restarts without its positionCheck the service status and enable it at boot, then confirm the registry file location is persistent across restarts

When to switch to Fluent Bit or Data Prepper

Keep Beats when the estate already runs them and the team can live with the version constraints. The Beats OSS releases that the OpenSearch tools documentation lists as compatible are Filebeat, Metricbeat, Packetbeat, Heartbeat, Winlogbeat and Auditbeat at 7.12.1, and the docs point to the 7.10.2 Beats versions when ingest pipelines are involved. That means the team accepts a frozen agent version, tracks security fixes for it on its own, and tests every ingest pipeline change before it reaches production. If those costs are acceptable and the fleet is stable, a switch adds risk without a clear gain. Confirm the current compatibility position in the OpenSearch tools documentation before you commit to a Beats version for new hosts.

Consider Fluent Bit when you need one collector across Kubernetes nodes or when parsing belongs in the collector itself. A single lightweight agent running as a DaemonSet can cover container logs, host logs and forwarding rules, which reduces the number of agent families your team patches. It also suits estates where field parsing and filtering must happen close to the source. Check that your required parsers, output plugin and TLS settings exist for the Fluent Bit version you plan to run, and that your authentication to OpenSearch matches what the output supports. The build details, including sending to Data Prepper or straight to an index, are covered in the sibling topic on shipping logs to OpenSearch with Fluent Bit.

Consider Data Prepper when parsing, enrichment and routing should run in a pipeline in front of OpenSearch. Data Prepper suits teams that want transformations, routing to different indexes and shared pipeline definitions managed centrally, independent of each host agent. It adds a service you must size, secure and monitor, so the case rests on the processing you need, not on the agent you already have. Any move to Fluent Bit or Data Prepper needs its own test plan and a dual-run period in which old and new pipelines write to separate indexes, so you can compare document counts, field mappings and dashboard results before cutting over. Plan rollback steps for each host group and keep the Beats configuration until the new path has run cleanly.

Questions teams ask before changing or outsourcing Beats OSS work

How much effort does a Beats OSS rollout take?

Effort depends mostly on the number of hosts, the Beats modules you enable, and how many ingest pipelines must be built, tested and kept in step with the cluster. Each Beat (Filebeat, Metricbeat, Packetbeat, Heartbeat, Winlogbeat, Auditbeat) runs as an agent on the host, so a fleet of a few hosts with one module behaves very differently from hundreds of hosts across Windows and Linux with custom parsing. Test scope is the other large driver: replaying representative log samples, checking field mappings and confirming dashboards still load. Ask any provider for a written list of hosts, Beats, modules and pipelines before accepting a timeline, and confirm the figures against your own environment.

Can an internal team roll out Beats OSS without a partner?

Yes, if the team already runs Linux or Windows fleets, manages configuration as code and has someone comfortable reading Elasticsearch-style index mappings and pipeline definitions. The skills most often missing are not the agent install itself but pipeline design, version pinning across the fleet and a test process that catches mapping breaks before production. A partner adds value when the scope is large, the timeline is short or the team lacks capacity to run the test cluster and the handover documentation alongside daily operations. Decide based on who will own the setup after go-live, since an unowned agent fleet drifts quickly.

What does the work need from our team?

Plan for four inputs before work starts. First, host access with approved change windows and a way to deploy agents, such as configuration management. Second, a test OpenSearch cluster that matches the production version and security settings closely enough to validate pipelines. Third, log samples from each source type, including edge cases such as multiline events and malformed records, so parsing can be tested realistically. Fourth, a named security owner who signs off on which data is collected, how credentials for the cluster are stored and who may change the configuration. Missing any of these usually moves effort into rework late in the project.

Is the 7.12.1 Beats line a long-term choice?

Treat it as a bridge, not a permanent platform choice. The Beats OSS 7.12.1 releases are the latest Beats OSS versions listed with OpenSearch compatibility, and the 7.10.2 versions are suggested when ingest pipelines are in use. That means no newer Beats line is documented for this path, and your team carries the patching and vulnerability review burden for agents that will age over time. Confirm the current support status and any known issues with the vendor documentation, and record the decision in your risk register with a planned exit to a supported collector such as Fluent Bit or Data Prepper.

Which ingest pipeline issues should we test for?

Some users report ingest pipeline problems with the 7.12.1 Beats versions, which is why the documentation suggests the 7.10.2 versions when pipelines are used. Test the pipeline path end to end: field renames, date parsing, geo or user-agent enrichment, and index template matching. Confirm that the Beats version, the OpenSearch version and any compatibility setting in the Beats configuration are recorded together, because a mismatch often appears as silent field loss rather than a visible error. Keep the sample set and expected output under version control so regressions are caught on upgrade.

What should a quote for Beats OSS work include?

A useful quote lists the following in writing:

  • The hosts, operating systems and Beats in scope, with the modules enabled for each
  • The ingest pipelines to build or change, and the log sources they parse
  • The test cluster, the test scope and the acceptance criteria for each source
  • The deployment method for agents and the configuration files delivered
  • The handover package, including runbooks, version pins and the upgrade path
  • Any work excluded, such as the cluster itself, dashboards or future Fluent Bit migration

Fixed-scope quotes make these items explicit. Ask for the same breakdown from any provider so you can compare them directly.

When should we move off Beats and choose Fluent Bit or Data Prepper?

Consider a move when the 7.12.1 line no longer meets your risk review, when you need pipeline logic that is hard to maintain in Beats configuration, or when you are already standardizing on another collector. Fluent Bit is a common replacement for lightweight host collection, and Data Prepper suits parsing and routing inside OpenSearch pipelines. Plan the migration as a parallel run: send the same sources to both collectors, compare indexed fields and retire the Beats agents only after the new path has passed the same test set. The cost of that parallel run is the main driver of the decision.

How DeployOpen scopes and delivers Beats OSS integrations

DeployOpen plans the Beats OSS agents for your OpenSearch cluster as part of a written, fixed-scope engagement. We confirm agent versions, ingest pipeline needs and access controls first, then build, test and hand over the collection setup in infrastructure you control.

How we scope

  • Inventory the hosts, log sources and Beats modules that need to ship data into OpenSearch
  • Confirm the Beats OSS version per agent against the OpenSearch tools documentation before any build starts
  • Decide whether ingest pipelines are needed, and whether Fluent Bit or Data Prepper fits better for specific sources

How we build

  • Configure the compatibility setting and output credentials for each agent in a version-controlled repository
  • Build and test ingest pipelines on the Beats version chosen for the pipeline, with sample events from each source
  • Validate TLS, index templates and role-based access for the indices each agent writes to

How we hand over

  • Deliver written configuration, a version matrix for each agent and a record of the tests that were run
  • Document the upgrade limits for each Beats version, so your team knows which releases to keep pinned
  • Walk your operations team through restart, rollback and troubleshooting steps for shipping agents

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover
  • Review agent versions and compatibility notes each time your OpenSearch version changes
  • Retest ingest pipelines after host or cluster changes, and report findings with fixes

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.