Monitoring OpenSearch with Performance Analyzer

Performance Analyzer gives you node and shard metrics through a REST API on port 9600. This page covers what it exposes, how to run it safely in Docker, and the authentication gaps and the RCA agent removal in 3.0 you must plan for.

On this page

What Performance Analyzer monitoring of OpenSearch nodes involves and when teams need it

A self-hosted OpenSearch cluster often becomes hard to read once several nodes, indexes and shards share the same work. Node-level CPU, heap pressure and disk activity may look fine in the operating system while one shard or one node quietly falls behind. Performance Analyzer is the OpenSearch component built to expose that per-node and per-shard detail. Since OpenSearch 2.0 it is installed by default, and it publishes cluster performance metrics through a REST API on port 9600. It is a metrics source, not a dashboard. Your team still needs a collector, storage and a visual layer, such as OpenSearch Dashboards or an external monitoring stack, to turn those numbers into something people act on.

Teams usually need this data when they cannot explain a symptom from cluster health alone. Typical cases include uneven load across data nodes, indexing that slows without an obvious cause, or repeated node-level pressure that does not show up in the cluster status. Confirm before you rely on it that the plugin is present and reachable on each node, that port 9600 is open only to the monitoring hosts that need it, and that you know which metrics your team will chart. Ask your vendor or your own test cluster which endpoints and metric names the version you run exposes, because the set of available metrics changes between releases.

Performance Analyzer is one input among several. Its data is strongest when read beside the cluster health API, node statistics, slow-query and backpressure signals, and the operating system view of disk, memory and network. Plan for the cost of that surrounding work as well: someone must own the collection pipeline, retention of the metrics themselves and the alerting thresholds. Those are recurring operational tasks, and they grow as the node count grows. If your organization has not yet decided who runs them, settle that ownership before you decide the monitoring design.

How metrics move from nodes to your monitoring tools

Performance Analyzer runs alongside each data node and serves its metrics through a REST endpoint on port 9600. A scraper or operator pulls from that endpoint, and the request crosses from the cluster network into the monitoring host's network. Check that only approved monitoring hosts can reach port 9600, because the endpoint supports encryption in transit but not client or server authentication for requests.

Metrics leave each node through port 9600 and cross into the monitoring network.

Which Performance Analyzer setup fits your environment

On a tarball, RPM or Debian install, Performance Analyzer runs as part of the node process on the host operating system, so it uses the host's shared memory and network stack directly. From OpenSearch 2.0, the plugin is installed by default, which means your job is mostly to confirm it is present, reachable and not blocked by host policy rather than to install it. The metrics are served over a REST API on port 9600, and that port should be reachable only from the monitoring hosts you trust.

  • Confirm the plugin is installed: list the plugins on each node and check that the Performance Analyzer plugin appears on every node type you run.
  • Check port 9600 on each node: query the local REST endpoint and confirm it answers, then confirm firewall rules limit who can reach it.
  • Check host shared memory: confirm the host has enough /dev/shm capacity for heavy load, since the plugin can need up to 1 GB there under heavy load.
  • Review service-level settings: make sure your service manager restarts the node with the same JVM and plugin settings after an upgrade.
  • Plan for transport security: the plugin supports encryption in transit but not authentication on its requests, so network segmentation carries the access control.

Before you rely on the metrics, confirm each node answers on port 9600 after a restart, and record the result for every node in your inventory.

Performance Analyzer configuration options and when each fits

This table compares the main choices for running Performance Analyzer: who can reach its REST API, whether traffic is encrypted, how metrics are collected, and whether the plugin stays enabled. Read each row against your network model and monitoring tooling, then confirm the exact settings in the current Performance Analyzer documentation for your version.

OptionWhat it changesWhen it fitsTrade-off
Expose REST API on a monitoring network onlyLimits access to the metrics endpoint on port 9600 to hosts on a dedicated monitoring segmentClusters where metrics are sensitive and the platform team controls network pathsScrapers must sit on that segment, which adds firewall and routing work
Use encryption in transitEncrypts requests to the REST API between the collector and the nodeWhen metrics cross network zones or pass through shared infrastructureEncryption does not authenticate clients or servers, so network controls still carry the access decision
Scrape from a collectorA monitoring agent polls the API on a fixed schedule and stores the resultsOngoing dashboards and alerting where history mattersAnother component to deploy, secure and size, and polling adds load on each node
Query ad hocEngineers call the API directly during an investigationShort-lived troubleshooting or checking a single node after a changeNo retained history, and manual calls are easy to forget during incidents
Keep the plugin enabledNode and shard metrics are collected continuouslyProduction clusters that need visibility into node and shard behaviorUp to 1 GB of /dev/shm may be needed under heavy load, which requires container planning
Disable the pluginStops metric collection and the REST API surface on the nodeClusters with tight memory or shared-memory limits that have other monitoring in placeLoses node-level detail that Performance Analyzer provides, so confirm alternatives first
Run RCA agent on 3.xNot available, because the performance-analyzer-rca agent was removed in 3.0Any cluster on OpenSearch 3.0 or laterRoot cause analysis must come from other tooling, so plan the replacement before upgrading

How to enable and verify Performance Analyzer on port 9600

This sequence confirms that Performance Analyzer is present on your OpenSearch version, prepares the container host, locks down port 9600, and proves that node and shard metrics come back from an approved host. Each step ends with a check you can record for your change file.

  1. Confirm the OpenSearch version and plugin presence

    The team that operates the cluster checks the running OpenSearch version on every node and lists the installed plugins, looking for the Performance Analyzer plugin. Performance Analyzer is installed by default from OpenSearch 2.0, so on 2.x and later you should find it already present unless someone removed it. On 3.0 and later, confirm that no performance-analyzer-rca agent is expected, because OpenSearch 3.0 removed that agent. The step is done when every node reports the same version and the plugin list shows Performance Analyzer on each node. If a node differs, fix that before continuing.

  2. Size /dev/shm for containerized nodes

    If the nodes run in Docker or another container runtime, the platform team reviews the shared memory mount that the container gets. Performance Analyzer can need up to 1 GB of /dev/shm under heavy load, and container runtimes often default to a much smaller allocation. Set the shared memory size in the container or pod spec so it covers that peak, then restart the node in a controlled way. The step is done when the container reports the new /dev/shm size from inside the container and the node stays healthy under load testing. Record the value in your deployment manifest.

  3. Restrict network access to port 9600

    The network team limits who can reach the Performance Analyzer REST API on port 9600. Performance Analyzer supports encryption in transit but does not provide client or server authentication for its requests, so the network boundary is the main access control. Allow traffic on port 9600 only from the monitoring hosts you have approved, and deny it from user subnets, the internet and general application networks. Apply the rule at host firewall, security group or network policy level on every node. The step is done when a connection from an unapproved host fails and a connection from the approved monitoring host succeeds.

  4. Enable encryption in transit for the metrics endpoint

    The platform team turns on encryption for Performance Analyzer traffic, using the TLS settings described in the Performance Analyzer documentation for your version. Because encryption does not replace authentication, treat this step as protection of data in transit and keep the network restriction from the previous step in place. Confirm the exact configuration keys and certificate locations for your version in the official docs, and keep the certificate chain in the same secrets process you use for other cluster certificates. The step is done when a request over HTTPS succeeds from the approved host and a plain HTTP request to the same endpoint fails or is refused, as your configuration intends.

  5. Query the REST API from an approved host

    From the approved monitoring host, the operator sends a read request to the Performance Analyzer REST API on port 9600 for each node, using the protocol and certificate settings from the previous step. Use a dedicated monitoring account or a fixed source address so later reviews can tell which host made the calls. Send the request to one node first, then to the others. The step is done when every node answers with a successful response and the response is structured data rather than an error page. Keep the request and response samples in your runbook for later comparison.

  6. Confirm node and shard metrics are returned

    The operator checks that the response contains both node-level metrics, such as CPU and memory, and shard-level metrics for indices that hold data. Compare the shard entries with the output of the cluster's own shard listing so you know the metrics match the real allocation. Repeat the check on a node that holds a primary shard and a node that holds only replicas. The step is done when node metrics cover every node in the cluster and shard metrics account for the shards you expect. If a node or shard is missing, check the plugin state, the /dev/shm size and the firewall rule before you proceed.

  7. Record the verified baseline and access rules

    The platform team writes down the verified state so the next upgrade or certificate change can be checked against it. Record the OpenSearch version, the plugin status on each node, the /dev/shm size, the firewall rule, the TLS configuration, the approved monitoring host, and sample metric counts for nodes and shards. Store the record with your other cluster configuration and assign an owner who reviews it at each upgrade. The step is done when the record exists, names an owner, and the monitoring host list matches the firewall rule. Ask your security team to confirm that the rule meets your own access policy before you rely on it.

Why encryption in transit does not replace authentication

Performance Analyzer encrypts traffic in transit but does not authenticate requests, so encryption alone does not control who can read its metrics. Any host that can reach the REST API on port 9600 can query node and shard metrics without presenting a credential. Treat that endpoint as an unauthenticated read interface and plan access control around the network, not around the plugin. Confirm with your OpenSearch version's documentation exactly which transport settings apply to the plugin, because encryption and access rules are configured separately and the defaults may not match your security baseline.

The compensating controls are yours to design and operate. Place cluster nodes on a segment where only monitoring collectors, administrators and the nodes themselves can reach port 9600, and enforce that with host firewall rules and security groups that deny everything else. If collectors in other networks need the data, route them through a reverse proxy that enforces authentication and logs each request, and confirm the proxy does not expose the endpoint to anonymous clients through a different path. Review these rules after every change to network topology, since a single permissive rule defeats the whole design.

Metric data is also sensitive in its own right. Per-index and per-shard figures reveal which workloads run, how heavily they query, and when traffic peaks, which is useful reconnaissance for an attacker and sometimes confidential for the business. Before you grant access to a team or a vendor, list what the endpoint returns in your environment and decide whether that exposure is acceptable. Ask your monitoring provider and your compliance lead to confirm whether metric data falls under any retention or access policy, and document the answer alongside the firewall design.

Security and operational risks to plan for

Performance Analyzer adds a metrics endpoint that is useful for operators and sensitive for attackers, and it sits outside the normal access path many teams assume. The cards below pair each risk with a control you can check before and after go-live. Review them together with your Security plugin settings and your container memory limits.

Unauthenticated REST access on port 9600

Performance Analyzer exposes cluster performance metrics through a REST API on port 9600, and it supports encryption in transit but not client or server authentication for requests. Anyone who can reach that port can read node and shard metrics, so the network path is the control. Restrict port 9600 to monitoring hosts with firewall rules or network policies, and confirm from a host outside that group that the port does not answer.

Performance Analyzer docs

Shared memory exhaustion in containers

Under heavy load Performance Analyzer can need up to 1 GB of /dev/shm, and Docker's default shared memory size is smaller than that. If the limit is hit, metric collection fails while the search and indexing workload keeps running, so the gap goes unnoticed. Set an explicit shared memory size for each node container, then verify it inside the running container before you rely on the metrics.

Metrics exposure through shared tools

Node and shard metrics often leave the cluster when teams send them to a shared dashboard, a log pipeline or a ticket attachment. Those destinations may have wider read access than the cluster does, and the data reveals index names, node layout and load patterns. Agree who may query the endpoint, which collectors may scrape it, and which users may see exported dashboards.

Change control for plugin upgrades

Performance Analyzer ships as part of the OpenSearch plugin set, and its companion agents change across versions. OpenSearch 3.0 removed the performance-analyzer-rca agent, so a rolling upgrade can break an alert or script that depended on it. Record the installed plugin list before each upgrade, read the breaking changes for the target version, and test the metric queries on a staging cluster first.

Breaking changes docs

Alerting on metric gaps

A dashboard that shows no data looks the same as a quiet cluster unless someone checks for it. When the endpoint stops responding, through a firewall change, a full /dev/shm or a stopped agent, your alerting can go silent. Create an alert that fires when the metric series for each node stops updating, and test it by stopping the endpoint on a non-production node.

Access logging for the endpoint

Because the REST API does not authenticate requests, the only record of who read metrics may be the network and proxy logs around it. Enable connection logging at the firewall or load balancer that fronts port 9600, and keep those logs with your other cluster audit records. Confirm the retention period with your security team, since log volume from frequent scrapes can be large.

What changes for the RCA agent in OpenSearch 3.0

OpenSearch 3.0 removed the performance-analyzer-rca agent, so a cluster upgraded from 2.x no longer runs root cause analysis on its own. Any alerting, dashboards or runbooks that depend on RCA output will stop receiving results after the upgrade, and nothing in the monitoring setup will flag that gap on its own. The practical step is to decide, before the upgrade window, whether each RCA-based workflow will be replaced or retired.

Start with an inventory. Search the monitoring stack (alert rules, Grafana or other dashboards, scheduled reports, scripts and runbooks) for references to the RCA agent, its output or the Performance Analyzer endpoints that fed it. Ask the owners of each dependency whether anyone acts on RCA results, and how often. Confirm the affected components against your own 2.x configuration, since the agent may have been enabled, customized or never used in your environment. The full list of removed items is in the OpenSearch breaking changes documentation, and that page should be read against your inventory rather than skimmed.

For each dependency, record one of three outcomes: replaced by another signal, such as raw node and shard metrics from the Performance Analyzer REST API on port 9600 evaluated by your own rules; retired because no one acts on it; or deferred with a named owner and a date. Test the replacement on a staging cluster running the target version, and confirm that alerts fire as expected under load. Treat the RCA replacement as part of the upgrade scope, not as cleanup after it.

Limits to confirm in your environment

Performance Analyzer gives you node and shard metrics, but its behavior depends on your exact OpenSearch version, your host resources and what reads its output. The cards below list the points to settle with the vendor documentation and your own testing before the metrics become part of your alerting.

Metric retention on the node

Performance Analyzer serves metrics from the node through its REST API on port 9600, so it does not replace a long-term metrics store. Confirm how far back the node keeps data and how often it is cleared. If your dashboards or capacity reviews need history, plan for an external collector that scrapes the API on a fixed interval and stores the results.

Performance Analyzer docs

Load-related overhead on nodes

Collecting metrics uses node resources, and the plugin can need up to 1 GB of /dev/shm under heavy load. Test the collection interval against a production-like load profile and watch heap, CPU and shared memory on the busiest data nodes. Record the results so the monitoring setting is a measured choice, not a guess.

Metrics exposed by your version

The set of metrics and their names can change between releases, so do not build dashboards from an older list. Query the API on a test node running your exact version and record each metric your alerts depend on. Re-check this list during every upgrade, since the RCA agent was removed in 3.0 and any workflow that relied on it must change.

Breaking changes docs

Supported versions for your release

Confirm which Performance Analyzer behavior applies to your OpenSearch line, since it is installed by default from 2.0 and the 3.x line differs. Check the release notes for your target minor version before you upgrade, and keep the monitoring configuration in version control so it can be reviewed alongside the cluster upgrade plan.

Transport security and access control

Performance Analyzer supports encryption in transit but not client or server authentication for its requests. Decide who can reach port 9600 on each node, restrict it with host and network rules, and confirm with the vendor docs whether any additional access control is available for your version before you expose it beyond the cluster network.

Fit with your monitoring stack

Confirm that your collector, alerting platform and dashboards can parse the output format and handle the metric names in use. Test the full path from node to alert with a deliberate threshold breach, and confirm how the collector behaves when a node is unreachable, since a silent gap can look like a healthy cluster.

Questions teams ask before monitoring OpenSearch with Performance Analyzer

What does it cost to set up Performance Analyzer monitoring?

Performance Analyzer itself is part of the Apache 2.0 OpenSearch distribution, so the software has no license fee. The cost is the labor and infrastructure around it: engineering time to enable access, size the host memory, connect metrics to your dashboards and alerts, and document the procedure, plus the compute and storage of whatever collects and retains the metrics. Recurring costs come from keeping that pipeline current through upgrades and reviews. Ask any partner for a quote that lists these components separately, including who performs each one, which systems are in scope and what is delivered at the end. DeployOpen quotes follow from a written scope, and it does not publish a price list.

Can our in-house team set up Performance Analyzer without a partner?

Often yes, if your team already runs OpenSearch in production and has someone comfortable with container runtimes, Linux host settings and TLS. The setup is small in concept: the plugin is installed by default from OpenSearch 2.0, and its metrics are read over a REST API on port 9600. The harder parts are operational: confirming the host and container configuration, deciding who may reach the endpoint, and wiring metrics into an existing monitoring stack. A partner is most useful when the team lacks that experience, when several clusters must be covered consistently, or when a compliance review needs written evidence of the configuration.

What does our team need to provide for a monitoring project?

Expect to provide access and context rather than the design itself. The usual inputs are the OpenSearch versions and deployment method in use (Docker, Helm, packages or tarball), the cluster topology including node roles, the network segments that can reach each node, the monitoring tools and alert channels already in use, and a named owner who can approve changes to cluster configuration. You will also need an environment where changes can be tested before production, and the ability to restart nodes during a planned window if container memory settings change. Agree on these inputs in writing before work starts so that the scope and timeline reflect your real environment.

How long does Performance Analyzer setup take for our cluster?

Duration depends mainly on cluster size, the number of environments involved and how many deployment paths you run. A single development cluster with one deployment method is a much smaller task than a fleet spanning production, staging and disaster recovery sites in several accounts or data centers. Other drivers include how many nodes need host memory changes, whether changes require rolling restarts that must be scheduled, how the metrics are routed to your existing tools, and how many review cycles your security team requires. No duration is given here because none is supported by a researched source. Ask for a timeline tied to a written list of clusters, nodes and environments.

Does Performance Analyzer replace OpenSearch Dashboards or alerting?

No. Performance Analyzer exposes node and shard performance metrics through its REST API so that other tools can read them. It does not provide the visual dashboards or the alert routing that your operators use day to day. OpenSearch Dashboards and the alerting features handle those functions, and your external monitoring stack may also consume the same metrics. Plan the design so that Performance Analyzer supplies the raw signals, one tool stores and visualizes them, and a defined set of alerts reaches the on-call team. Confirm the exact dashboard and alerting features available in your OpenSearch version before you commit to a design.

What changes when Performance Analyzer RCA is removed in OpenSearch 3.0?

OpenSearch 3.0 removed the performance-analyzer-rca agent, which was the root cause analysis component that ran alongside Performance Analyzer. If your runbooks, scripts or dashboards depend on RCA output, those parts will stop working when you upgrade to 3.0 or later. Start by inventorying every place RCA data is read, then decide which signals you need from the remaining Performance Analyzer metrics and which alerting or analysis logic must be rebuilt in your own tooling. Review the breaking changes documentation for your target version before upgrading, and test the change in a non-production cluster first.

How do we secure port 9600 when Performance Analyzer has no authentication?

Performance Analyzer supports encryption in transit, but it does not provide client or server authentication for requests. That means anyone who can reach the REST API on port 9600 can read the metrics, so access must be controlled at the network layer. Restrict port 9600 to the monitoring hosts or scrapers that need it using firewall rules, security groups or Kubernetes network policies, and keep it off public networks and shared segments. Enable encryption in transit where your design calls for it, and record the allowed sources as part of your access evidence. Confirm the current TLS options for your version in the Performance Analyzer documentation before you set the policy.

Which Performance Analyzer setup issues are most common in Docker?

The most frequent issue is shared memory. Performance Analyzer can need up to 1 GB of /dev/shm under heavy load, and Docker containers often receive a smaller default shared memory allocation. If that limit is too small, metrics collection can fail under the conditions when you most need it. Check the container's shared memory size, set it deliberately in your Compose file or Kubernetes pod spec, and load-test the setting against your busiest cluster. Other checks include confirming that port 9600 is published only to the intended monitoring network and that the configuration survives container recreation.

How DeployOpen scopes and supports OpenSearch monitoring

DeployOpen scopes Performance Analyzer work as a fixed-scope engagement delivered inside your own cloud accounts, data centers or air-gapped network. Before any work starts, the written scope should name the nodes to be instrumented, the endpoints to be documented, the network paths that will reach port 9600, and the operator who will consume the metrics. The first step is a review of network exposure, because the plugin's REST API has no client or server authentication for requests. That review confirms which hosts and subnets can reach the API, whether a firewall or security group restricts it to monitoring systems, and whether the transport layer encryption that Performance Analyzer does support is configured on the path. Findings and the agreed fixes are recorded in the scope document so your security team can review them before anything goes live.

Configuration follows the reviewed design. The work typically covers enabling the plugin on each node type, checking that the Docker hosts provide enough /dev/shm for the plugin under heavy load, and confirming that the metrics endpoints answer from the monitoring host. DeployOpen then documents each endpoint, its purpose, its access path and the owner responsible for it, so operators do not have to rediscover the design during an incident. Because the performance-analyzer-rca agent was removed in OpenSearch 3.0, the scope also records which RCA functions your cluster relied on and which replacement checks, if any, your team will run. Ask any partner to confirm these items in writing rather than assume them, including which OpenSearch version your cluster runs. The OpenSearch Performance Analyzer documentation is the reference to check the configuration against.

Ongoing support is offered as a retainer, separate from the initial build. A retainer can cover version upgrades, re-running the exposure review after network changes, and checking that the documented endpoints and /dev/shm sizing still match the cluster. Ask for the retainer terms in writing, including what is included each month, how upgrade work is scheduled around OpenSearch maintenance releases, and who responds when a monitoring endpoint stops answering. DeployOpen does not publish a price list, so the quote follows from the agreed scope and the number of nodes involved.

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.