Skip to main content

OpenSearch Dashboards (opensearch-dashboards)

Web console of OpenSearch: search, log exploration, visualisations, index and security administration. Stateless, its saved objects live in OpenSearch.

Generated from catalog/services/opensearch-dashboards.yaml: do not edit by hand.

Summary​

Version2.19.2
Useinstall and configure
Layerinfrastructure (shown apart)
CategoryData platforms
Installation methodsbinary, podman
External connectionno
Sandbox onlyno

Licence​

SPDX identifierApache-2.0
Licence policycore licence (MIT or Apache-2.0)
Licence exception-
Platform componentopensearch-dashboards

Packages and artifacts​

A package the project of the service publishes (its image, its binary archive, its Python or OS package) carries the licence of the service; a third-party package carries the licence written on its row, read from the official upstream metadata.

KindPackageVersionLicenceDetails
container imagedocker.io/opensearchproject/opensearch-dashboards2.19.2Apache-2.0image key opensearch-dashboards, used by account, dashboards, digest sha256:569b0ed262c231eac57fa9b582029e081c94e5663867191308eccca15118a1b4
binary archiveopensearch-dashboards-2.19.2-linux-x64.tar.gz2.19.2Apache-2.0https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.19.2/opensearch-dashboards-2.19.2-linux-x64.tar.gz, x86_64, checksum sha256

Images are pinned by tag in the descriptor, and by digest when the descriptor declares one (the offline bundle then refuses a pulled image that does not carry it); the digest is recorded in the mirror of the Manager when the offline bundle is imported, and every pull or load is checked against it.

Supported systems and architectures​

MethodOperating systemsArchitectures
binaryRHEL family (dnf), Debian family (apt), Arch Linux (pacman)x86_64 (architecture of the artifacts of the descriptor)
podmanRHEL family (dnf), Debian family (apt), Arch Linux (pacman)x86_64, aarch64 (not restricted by the descriptor)

Certified host systems: RHEL 8/9/10, Rocky Linux 8/9/10, AlmaLinux 8/9/10, Oracle Linux 8/9, CentOS Stream 9/10, Ubuntu 22.04/24.04, Debian 12, Arch Linux (rolling). The host preflight accepts these systems (other releases of a known family give a warning, end of life releases are refused) and the x86_64 and aarch64 architectures.

Prerequisites​

Host​

  • at least 1024 MB of memory (blocking, memory).

Programs the commands and checks of the service start on the host, outside the managed roots: add them to allowed_commands of the agent (see Security of the Navin agent), else the agent refuses them with command_not_allowed: /usr/bin/curl.

Network and ports​

ComponentPort namePortOpened in the host firewall
dashboardsweb5601/tcpyes

Services and connections needed​

Details and resolution: see Dependencies.

Installation methods and modes​

MethodDefaultWhat the method uses
binaryyesthe binary archives of the descriptor, unpacked under the service directory
podman-the container images of the descriptor, run by Podman under systemd

Components​

ComponentKindInstallation methodsPorts
Service account setup (account)one shotbinary, podman-
Console server (dashboards)masterbinary, podman5601/tcp

Single instance (single) (default)​

One console server, enough for most installations.

What the mode deploys:

ComponentPlacement
accountmin 1, max 1
dashboardsmin 1, max 1

Replicated (replicated)​

Several stateless servers behind the load balancer (HAProxy), sharing the session cookie key.

What the mode deploys:

ComponentPlacement
accountmin 1, max 1
dashboardsmin 2, recommended 2

Install this service​

The install wizard of the Navin Manager plans, validates and runs the installation; you need the services:install permission on the cluster.

  1. Open the wizard. In Clusters, choose the row action Install services of the target cluster. The wizard opens on its first step, Service.

  2. Choose the service. On the Service step, select OpenSearch Dashboards. The card shows the licence Apache-2.0 and the dependencies the installation needs. Pick the Method among binary, podman (default binary).

  3. Choose the hosts and the mode. On the Hosts step, tick the hosts, then choose the Mode: single (default), replicated. Each mode deploys the components listed in Installation methods and modes. With several components, place each one on its hosts in Component placement (Suggest placement proposes a placement that respects the cardinalities).

  4. Bind the dependencies. On the Bindings step, choose for each dependency (opensearch) Install with the platform or Use an existing connection; an optional dependency can stay on No binding.

  5. Configure. On the Configure step, review the parameters (see Configuration parameters). Passwords left empty with a generated default are generated and sealed by the Manager.

  6. Review and install. On the Install step the Manager validates the plan and shows the installation order; when it says "The plan is valid. Ready to install.", choose Install. A highly available mode is installed only when its HA checks pass.

  7. Verify. The operation ends when the health checks of every instance pass (see Health checks); the service then shows as running in Services.

High availability​

Clusterreplicas (replication)
High availabilityexternal (external)
Failoverload balancer (load-balancer)
Replicationshared store (shared-store)
Quorumnone (none)
Discoverynone (none)
Entry pointload balancer (load-balancer)
Official documentationhttps://opensearch.org/docs/latest/install-and-configure/install-dashboards/index/
Peer TLS parametertls_enabled

Prerequisites​

PrerequisiteMust be highly availableModesDescription
opensearchyesmodes of level ha or clusterOpenSearch with its security plugin and TLS, itself highly available (cluster mode); it stores the saved objects.

Topology per mode​

ModesHighest catalog levelDistributionQuorum componentFault domainsDescription
singlestandalone (standalone)single (single)-1One console server, no fault tolerance.
replicatedha (ha)active-active (active-active)-2Several stateless servers behind HAProxy sharing the cookie key; the saved objects live in OpenSearch.

Notes​

  • Multitenancy is disabled because the service account is not the server_username of the OpenSearch security plugin.

Configuration parameters​

Network​

ParameterTypeDefaultAllowed valuesRequiredSecretRestartDescription
Web port (port)port5601-nonoyesPort of the web console and of /api/status.
TLS (tls_enabled)booltrue-nonoyesServe the console over TLS with a certificate issued by the manager CA (keep it on: the session cookie is then marked secure).

Security​

ParameterTypeDefaultAllowed valuesRequiredSecretRestartDescription
Service account (dashboards_username)stringnavin_dashboards^[a-z][a-z0-9_]{2,40}$nononoDedicated OpenSearch account of the console server (role kibana_server), created at install. Never the demo kibanaserver user. (advanced)
Service account password (dashboards_password)passwordgenerated-noyesnoPassword of the service account, generated at every install and hashed by OpenSearch.
Session cookie key (cookie_password)passwordgenerated-noyesnoKey encrypting the session cookie of the users (32 characters, shared by the replicas).
Session lifetime (session_ttl_ms)int3600000min 300000, max 86400000, msnononoLifetime of a user session without activity, in milliseconds (one hour by default).

Dependencies​

For each active dependency the Manager takes the first of: the binding chosen in the wizard; a service of the same installation that provides it; a service already installed in the cluster; the only connection of the expected type. Otherwise an optional dependency stays unbound, and a required one is added to the installation in its default mode (the column below names the catalog service added).

BindingProvided byConnection typeEndpointOptionalWhen nothing is boundDescription
opensearchopensearch-httpnoopensearch is added to the installationOpenSearch cluster shown by the console, with its security plugin and TLS enabled.

Endpoints​

EndpointSchemeComponentPortPathTLS parameterBinding parametersBinding secretsProvisioning command
webhttpdashboards5601 (port)-tls_enabled---

Commands​

CommandComponentTargetDescription
Console status (status)dashboardsfirst hostReads /api/status with the service account (overall state, plugins, OpenSearch connection).
Create the service account (create_account)accountfirst hostCreates or updates the service account in OpenSearch with the current password (idempotent, after a password rotation for example).

Health checks​

Liveness (per instance)​

ComponentCheckDetails
dashboardsHTTP {{ 'https' if config.tls_enabled else 'http' }}://{{ host.fqdn if config.tls_enabled else (host.ip or '127.0.0.1') }}:{{ config.port }}/api/statusExpected 200, 401; 90 retries; interval 2 s; timeout 5 s

Readiness (service check)​

CheckDetails
/usr/bin/curl -sS --fail -o /dev/null --netrc-file {{ paths.etc }}/dashboards.netrc --cacert {{ tls.ca_file }} {{ 'https' if config.tls_enabled else 'http' }}://{{ host.fqdn }}:{{ config.port }}/api/status10 retries; interval 3 s; timeout 10 s

Preflight checks​

CheckTypeMeaningSeverityComponents
memorymemory_mb {"min": 1024}at least 1024 MB of memoryblockingdashboards
web_port_freeport_free {"param": "port"}port 5601 free on the hostblockingdashboards

Uninstall​

Paths removed when the data is purged: {{ paths.data }}, {{ paths.log }}.

  • OpenSearch Dashboards: {{ 'https' if config.tls_enabled else 'http' }}://{{ host.fqdn }}:{{ config.port }}/
  • Status: {{ 'https' if config.tls_enabled else 'http' }}://{{ host.fqdn }}:{{ config.port }}/app/status

Upstream documentation​