Using OpenSearch as the Jaeger trace storage backend
The platform team already runs Jaeger and wants those traces searchable in OpenSearch Dashboards. The good news is that this path is supported: since OpenSearch 2.5, trace analytics in Dashboards can analyze trace data that Jaeger stores in OpenSearch, showing error rates and latency by service and operation. The integration works by pointing Jaeger's OpenSearch storage at your cluster, so the decision is less about whether it works and more about how the cluster is sized and secured around it.
The index layout is the first thing to settle. Jaeger writes spans to jaeger-span-* indexes and service data to jaeger-service-* indexes, while Data Prepper writes to otel-v1-apm-span-* and otel-v1-apm-service-map*. The Jaeger index pattern is the supported method for Jaeger-originated data, so the Dashboards trace analytics views should be aimed at those indexes. Confirm the index names and the Dashboards version against the current trace analytics documentation before you build index templates, retention policies or role grants, because those objects are keyed to these patterns.
OpenTelemetry is not a backend, so the storage and visualization choices are separate decisions. The OpenTelemetry Collector and Jaeger handle receiving and forwarding telemetry, while OpenSearch handles storage and search. Keep that separation in your design document so that a later change of trace store does not force a change to instrumentation. Ask your team to confirm which Jaeger release you run and whether its OpenSearch storage settings match the index pattern above.
Before go-live, plan three things for spans specifically: retention by index lifecycle, the cluster capacity needed for your span volume, and access to trace data that may contain sensitive request details. Span volume grows with traffic and instrumentation depth, so measure a representative sample in a test cluster before sizing production. Restrict who can read the jaeger-* indexes through the OpenSearch Security plugin roles, since span attributes can carry user or payment context.
What you need before connecting Jaeger to OpenSearch
Connecting Jaeger to OpenSearch touches four parts of your environment: the OpenSearch and Dashboards versions, the Jaeger deployment, the network and certificates between them, and the account the integration uses. Confirm each one before you change any storage setting, because a mismatch often shows up only as missing traces in Dashboards.
Confirm OpenSearch and Dashboards versions
Check the current release page before you choose versions, since OpenSearch ships a new minor version about every eight weeks and older lines move into maintenance on a fixed schedule. Pick a version that the trace analytics docs list as supported for Jaeger data, and run Dashboards at a matching release so the trace views read the indexes correctly. Record both versions in your change request.
OpenSearch releasesConfirm the Jaeger version and storage setting
Confirm that your Jaeger version appears in the trace analytics documentation for Jaeger data in OpenSearch, because support depends on the Jaeger release, not only on OpenSearch. Check that the Jaeger deployment uses OpenSearch as its span storage backend and that the collectors and queriers both point to the same cluster. Mixed storage settings across components are a common cause of split or incomplete traces.
Jaeger trace analytics docsMap network paths and certificates
Map every connection from Jaeger collectors and queriers to the OpenSearch nodes, including firewall rules, DNS names and any proxies. Decide how TLS is trusted for each path, and plan certificate rotation before the first production write. Each component that talks to the cluster needs a certificate chain it can validate, and an expired or untrusted certificate stops span ingestion without an obvious error in the Jaeger UI.
Create a dedicated integration account
Create a separate OpenSearch user for Jaeger writes and another for Dashboards reads, rather than sharing an administrator account. Grant each only the index patterns it needs, such as the jaeger-span-* and jaeger-service-* indexes, and review the role mapping with your security team. Scoped accounts make audit logs readable and let you rotate one credential without affecting the other path.
Use dedicated cluster manager nodes
The cluster docs recommend dedicated cluster manager nodes, so keep those roles off the data nodes that hold spans. Size the data nodes for your span volume and place replicas on separate nodes, with shard allocation awareness across zones or racks where your hosting allows it. Without these settings, losing one host can take out both the cluster state and the only copy of recent traces.
Creating a clusterPlan for ingestion and retention capacity
Span volume grows with request rate, instrumentation depth and the number of services, so estimate it from a sample of your own traffic before you set retention. Ask whether the index lifecycle policies you plan to use match the Jaeger index names, and confirm who owns deletion and snapshot schedules. Changing retention after traces have accumulated usually means reindexing or deleting data, so decide it before the first production load.
Jaeger indexes or Data Prepper indexes: choosing the write path
The first decision in this design is which write path fills the trace indexes, because it determines which Dashboards trace analytics views work out of the box. Jaeger writes to jaeger-span-* and jaeger-service-* indexes, while Data Prepper writes to otel-v1-apm-span-* and otel-v1-apm-service-map*. Trace analytics in Dashboards can read Jaeger data stored in OpenSearch since OpenSearch 2.5, showing error rates and latency by service and operation, but the views are built around the index layout of the path you choose. Before you pick, confirm with your OpenSearch version which Jaeger-backed views and service map features your Dashboards release supports, and test them on a sample of real spans.
Your existing telemetry pipeline usually settles the question. If your applications already send spans through an OpenTelemetry Collector, the Collector is vendor-agnostic and can export to either path, so the choice becomes an exporter and pipeline decision rather than a change to instrumentation. If you run Jaeger as the collector and query service today, keeping the Jaeger write path avoids a second pipeline. Check the exporter options that ship in the Collector version you run, because exporter names, settings and stability levels differ between releases and are documented per component. Also confirm whether your teams need the Collector to add authentication, for example through its authenticator extensions, before traces reach the cluster.
Mixing both write paths in one cluster complicates queries and retention. Spans for the same service can land in two index families with different field layouts, so a single Dashboards view or saved query may return only part of the picture. Each index pattern also needs its own ISM policy, snapshot scope and access role, and a retention rule written for one family can silently miss the other. Pick one primary write path per environment, document the index patterns it uses, and apply retention and role mappings to both families only if you truly need both during a migration. Plan the cutover so that the old indexes are retired on a defined schedule.
How to configure Jaeger to store spans in OpenSearch
This sequence takes a Jaeger deployment from a healthy OpenSearch cluster to verified span storage and working error and latency views in Dashboards trace analytics. Each step ends with a check, so a failure is caught before the next component depends on it.
Confirm cluster health and node roles
Before any Jaeger component touches the cluster, confirm that the OpenSearch cluster reports a healthy status and that its node roles match the docs: dedicated cluster manager nodes, data and ingest capacity, and coordinating nodes where clients connect. Check that replicas are placed on separate nodes and that shard allocation awareness is configured if the cluster spans failure domains. Your platform team owns this check, and DeployOpen can run it as part of an implementation review. The step is done when the cluster health output shows green or an explained yellow state, and you have written down the node roles and failure domains you will rely on for trace data.
Create a service account with least-privilege roles
Create a dedicated service account for Jaeger and map it to a role that can write to the jaeger-span-* and jaeger-service-* index patterns and read the indexes it needs for queries. Keep index management privileges separate from the collector's write role where your security model requires it, and avoid granting cluster-wide admin rights. If the Security plugin is in use, document the role mapping and the authentication backend (for example SAML, OpenID Connect, LDAP or basic internal users) so that reviewers can trace who can read span data. The step is done when a test authentication with that account succeeds and a write to a test index is allowed while a write to an unrelated index is denied.
Set Jaeger storage settings and index prefixes
Configure the Jaeger OpenSearch storage backend with the cluster endpoints, TLS trust settings, the service account credentials, and the index prefix. Confirm the exact configuration keys and supported options against the Jaeger version you run, because they change between releases. Set the prefix so that Jaeger writes to the jaeger-span-* and jaeger-service-* families, and keep Data Prepper indexes (otel-v1-apm-span-*) separate if both pipelines share a cluster. The step is done when the Jaeger collector starts without storage errors in its logs and reports a successful connection to the cluster.
Send test traces through Jaeger
Send a small, known set of test traces through the Jaeger collector from a non-production service, covering at least two services and a few operations, including one request that returns an error. Use a fixed naming pattern so you can recognize these spans later. Check the collector logs for dropped or rejected spans and confirm that the query service returns the test traces in the Jaeger UI. The step is done when every test trace you sent appears in the Jaeger UI with the expected service and operation names, and the error span is visible as an error.
Confirm the Jaeger span and service indexes
Query the cluster for the index list and confirm that jaeger-span-* and jaeger-service-* indexes exist and contain documents that match your test traces. Check the document count against the number of spans you sent, allowing for any spans the collector sampled out, and confirm the index names follow your prefix and date pattern. If the indexes are missing or empty, check the index prefix, the role permissions for index creation, and the storage settings before continuing. The step is done when the index names and span counts match what you expect from the test run, and you have recorded the index template and mapping in your configuration repository.
Open trace analytics and verify error views
In OpenSearch Dashboards, open trace analytics and select the Jaeger data, which the docs describe as supported since OpenSearch 2.5. Confirm that the dashboard lists your test services and operations and that the error rate for the deliberately failing request is shown. Check that the data time range covers the test run, and that the Dashboards user has the read permissions needed for the Jaeger indexes. The step is done when the error rate for the test operation matches the errors you generated, and the view does not show services you did not send.
Verify latency views against known timings
Use the trace analytics latency views to compare the reported latency for test operations with the delays you built into the test requests. Open individual traces from the latency view to confirm that span durations and parent-child relationships match what the test sent. Note any mismatch in clock settings, sampling, or time zone, because these cause misleading latency numbers in production. The step is done when the latency values for at least one operation agree with your known test timings within the tolerance your team sets, and you have a short written record of the verified views for handover to operations.
How spans move from services to Dashboards
The path starts in instrumented services, which send spans to the Jaeger collector tier. Collectors write spans and service records into Jaeger's own indexes in the OpenSearch cluster, and Dashboards trace analytics reads those indexes to show error rates and latency by service and operation. The trust boundaries matter most: the application network, the Jaeger tier and the OpenSearch cluster should each accept traffic only from the tier before them, with TLS and credentials at each crossing. Check the index names the collectors write to, since Dashboards views depend on them.
Spans flow from services through Jaeger collectors into OpenSearch indexes read by Dashboards.
Jaeger fields and the indexes they land in
This table maps Jaeger and Data Prepper trace data to the indexes they write, and to the fields trace analytics reads for service, operation, duration and errors. Use it to decide which pipeline matches your team's needs and to check field names before you build dashboards or queries. Field names change between versions, so confirm each one against the docs for your OpenSearch release.
| Data item | Jaeger path | Data Prepper path |
|---|---|---|
| Span index | jaeger-span-* indexes written by Jaeger | otel-v1-apm-span-* indexes written by Data Prepper |
| Service index | jaeger-service-* indexes that list services and operations | otel-v1-apm-service-map* indexes used for the service map |
| Service name | Service name recorded on each span, used to group error and latency views | Service name taken from OpenTelemetry resource attributes, used the same way in analytics |
| Operation name | Operation name on each span, the key for per-operation latency | Span name from the OpenTelemetry span, used for per-operation latency |
| Duration | Span duration stored with the span, the basis for latency percentiles | Span duration stored with the span, the basis for latency percentiles |
| Error signal | Error tags on the span, which drive error rates in trace analytics | Span status and error attributes, which drive error rates in trace analytics |
| Parent and trace identifiers | Trace and parent span IDs used to rebuild the request tree | Trace and parent span IDs used to rebuild the request tree and service map |
| Action to confirm | Check field names and index templates against the trace analytics docs for your OpenSearch version | Check pipeline mappings and index templates against your Data Prepper version before building dashboards |
Retention and sizing for spans
Span storage cost follows from how many spans you emit, how long you keep them, and how the cluster stores them. The cards below cover the volume drivers, the lifecycle policies that remove old indexes, the shard and replica layout, and the pilot measurements that should set the cluster size before you commit to hardware.
Sampling rate and span count
Span volume starts with the sampling rate you set in your instrumentation or Collector and the number of spans each request produces. A single user request that fans out to a dozen services can create many spans, so a low sampling rate on a busy path can still produce large indexes. Confirm the sampling policy with service owners before sizing, and record spans per request for your top endpoints during the pilot.
Tag cardinality in span fields
High-cardinality tags such as user IDs, request IDs or full URLs with embedded identifiers increase the number of distinct values that OpenSearch must index and store. Each Jaeger span carries tags and process attributes, so an unbounded tag can grow index size and slow aggregations in trace analytics. Review which attributes services attach to spans and remove or bound the ones that do not support troubleshooting.
Retention window and index lifecycle
Set the retention window with the teams that use traces for incident review and performance work, then encode it in an index lifecycle management policy that rolls over and deletes old jaeger-span-* and jaeger-service-* indexes. Confirm that the policy matches each index pattern, since span and service indexes may need separate handling. Test the delete phase on a non-production cluster before relying on it.
Replicas and shard planning
Each primary shard holds part of the span data, and each replica is a full copy that consumes disk and memory. Replicas protect trace data against node loss but multiply storage, so decide the replica count with your availability target in mind. Place replicas on separate nodes and use shard allocation awareness as the OpenSearch cluster documentation recommends. Keep shard sizes in a range that suits your daily index rollover, and confirm the sizing guidance for your OpenSearch version.
Cluster docsMeasuring ingest rate in a pilot
Before choosing a cluster size, run Jaeger against a representative set of services for a fixed period and measure spans per second, average span size on disk, and the resulting index growth per day. Multiply the daily growth by your retention window and add replica copies and headroom for peaks. Repeat the measurement after adding services, since span volume often grows faster than planned. Ask your partner or vendor to review the method and the assumptions behind the figures.
Common failures when Jaeger writes to OpenSearch
This table lists the failures teams most often hit when Jaeger stores spans in OpenSearch and Dashboards trace analytics goes quiet. Read each row as symptom-independent cause, fix and first check, and work through the checks in the order given before changing configuration.
| Failure | Likely cause | Fix and first check |
|---|---|---|
| No jaeger-span-* or jaeger-service-* indexes created | Jaeger is not reaching the cluster, the storage backend is set to a different type, or the writer lacks index creation rights | Confirm the Jaeger collector logs show successful writes, check the configured OpenSearch endpoint, then list indexes with the cat indices API and confirm the writer role allows index creation |
| Trace analytics shows empty views | Spans are written but to a different index family than the Dashboards trace analytics setting expects, or the time filter misses the data | Check the Jaeger index names against the trace analytics docs, widen the time range to the last few hours, and confirm the Jaeger index pattern is selected in the trace analytics view |
| Index pattern mismatch | The Dashboards index pattern points at Data Prepper indexes (otel-v1-apm-span-*) while Jaeger writes jaeger-span-* | Create or select the index pattern that matches jaeger-span-* and jaeger-service-*, and keep Jaeger and Data Prepper span indexes in separate patterns to avoid mixed results |
| Mapping conflicts after a version change | A new Jaeger or OpenSearch release changes the field types of an existing daily index, so new documents are rejected | Check the failed bulk responses for mapping exception messages, compare the index mapping with the current Jaeger template, and roll new indexes forward with an updated template rather than editing existing mappings |
| Authentication or TLS errors | Jaeger lacks the credentials or CA certificate for a cluster with the Security plugin enabled, or the certificate name does not match the endpoint | Read the Jaeger collector and query logs for 401, 403 or certificate verification errors, confirm the service account role mapping, and test the endpoint with the same CA and credentials outside Jaeger |
| Disk watermark blocks | Data nodes pass the flood-stage disk watermark and OpenSearch sets indexes read-only, so span writes fail | Run the cluster allocation explain and disk allocation views, free space or add data nodes, then clear the read-only block on affected indexes after capacity is restored and confirm retention is removing old indexes |
| Retention misses old spans | Index lifecycle or cleanup is not configured, so daily indexes accumulate until disk pressure appears | Confirm which retention mechanism your team uses for jaeger-span-* indexes, check the oldest index dates, and verify the policy applies to both span and service indexes |
Questions teams ask before connecting Jaeger to OpenSearch
Does OpenSearch carry a license cost for storing Jaeger traces?
No license fee applies to the OpenSearch software itself. All software in the OpenSearch project is released under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe any paid edition. Your costs come from the infrastructure that runs the cluster (compute, storage, network and backups), the people who build and operate it, and any support contract you choose to buy. Jaeger and the OpenTelemetry Collector are also open source, so the main budget lines are hardware or cloud capacity and engineering time. Confirm the current license terms and any support options directly with the OpenSearch FAQ before you finalize the budget.
What drives the cost and effort of a Jaeger on OpenSearch setup?
Span volume is the biggest driver. Storage and cluster sizing scale with how many spans you ingest, how large each span is, how many days you keep them, and how many replicas you configure. Other drivers include the number of services and operations you trace, the number of environments that send data, whether you need a dedicated cluster or share one with logs, how often you query old traces, and how much access control and audit logging you require. Effort rises when the cluster must meet security or compliance requirements from day one, because identity, TLS and role design take time to plan and review.
How long does it take to connect Jaeger to OpenSearch?
The duration depends on scope, not on a fixed formula. A basic proof of concept with a single Jaeger instance and a small test cluster can be completed quickly, while a production rollout that includes sizing, retention policies, identity integration, dashboards and runbooks takes longer. No researched duration applies to this work, so ask any provider for a written timeline tied to a defined scope. Agree on the environments, the number of services, the retention target and the acceptance tests before the schedule is set, since each of those changes the work.
What does our internal team need to provide?
Your team needs to provide the hosting environment and its constraints, access to Jaeger and any collectors already in use, a named owner for the cluster, and decisions on retention, data classification and who may query traces. Platform or infrastructure engineers will usually handle node sizing, storage classes and network rules, while security staff confirm identity and TLS requirements. Application teams should confirm which services emit traces and which fields carry sensitive data, because trace attributes often include request details that need review before they are stored.
Can our own engineers do this in-house?
Yes, if your team has experience operating Kubernetes or virtual machines, running a search cluster, and managing Jaeger or OpenTelemetry pipelines. The OpenSearch documentation covers installation with Docker, Helm, the OpenSearch Kubernetes Operator, packages and Ansible, and the Jaeger trace analytics documentation describes the index layout. In-house teams usually struggle with cluster sizing under real span volume, shard and retention design, and security configuration that an assessor will review. Be honest about those gaps when you decide. A partner can take over a defined part of the work, such as the design review or the hardening, while your team keeps ownership of day-to-day operations.
How does choosing Jaeger or Data Prepper change the work?
The choice changes the index names, the pipeline components and the dashboards you configure. Jaeger writes to jaeger-span-* and jaeger-service-* indexes, and since OpenSearch 2.5 trace analytics in Dashboards can analyze that data. Data Prepper writes to otel-v1-apm-span-* and otel-v1-apm-service-map* indexes, which means its pipeline must be deployed and maintained as an additional component. Jaeger storage is simpler if you already run Jaeger. Data Prepper suits teams that want OpenTelemetry-native ingestion with processing before storage. Check the index templates, retention policies and dashboard views for whichever path you choose, because they are not interchangeable.
What should a quote for this work include?
A quote should follow from a written scope that lists the trace sources, the Jaeger or Data Prepper path, the OpenSearch version and deployment method, the cluster topology, the retention target, the identity and TLS requirements, the dashboards to be configured and the acceptance tests. It should separate one-time work (design, build, testing and documentation) from recurring work (upgrades, patching and monitoring). DeployOpen works on fixed-scope engagements with scope, deliverables and timelines agreed in writing before work starts, and it offers retainers for ongoing support. Ask for each assumption to be stated so you can compare quotes on equal terms.
Which security and retention choices should we settle before the first trace arrives?
Settle identity, TLS, role-based access and retention before data arrives, because changing them later is slower and riskier. The OpenSearch Security plugin supports SAML, OpenID Connect, LDAP and other authentication backends, and it provides role-based access control, field-level security and audit logs. Trace attributes can contain user identifiers or request payloads, so decide which fields to drop or mask at ingestion. Set a retention period and an index lifecycle approach that matches your data governance rules. Confirm the specifics with your security and compliance teams, since DeployOpen prepares controls and evidence but does not issue audit reports or certifications.
How DeployOpen scopes and delivers a Jaeger on OpenSearch integration
DeployOpen treats Jaeger on OpenSearch as a planned integration rather than a single install. We agree the trace volumes, index layout, retention rules, access model and Dashboards views in writing before any build starts, then deliver the cluster, the Jaeger configuration and the verification evidence inside infrastructure you control.
How we scope
- Confirm the Jaeger version, the storage path it will use and which services emit spans into the cluster
- Agree the jaeger-span-* and jaeger-service-* index layout, index naming and whether Data Prepper indexes are also in play
- Record span volume estimates, retention periods, error and latency views required, and the users who need trace access
How we build
- Size the OpenSearch data, ingest and cluster manager nodes for your span rates, with replicas placed on separate nodes
- Configure Jaeger collectors and query components to write to OpenSearch, with TLS and credentials handled through the Security plugin
- Test trace analytics in OpenSearch Dashboards against known traces, confirming error rates and latency by service and operation
How we hand over
- Deliver architecture notes, configuration files, role and tenant definitions and the index retention settings as documentation
- Provide a verification record showing ingest, query and Dashboards checks, with the outcomes your team can repeat
- Walk through runbooks for index rollover, snapshot schedules, version pinning and the cluster checks your operators run
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
- Ongoing support, upgrades and continuous testing are available as a retainer after handover
- Ask for a written quote that lists the Jaeger and OpenSearch versions covered, the environments in scope and the retest terms

