Skip to content

Get access to the dashboard

Each OpenSearch instance in Aiven comes with a built-in dashboard for visualizing your data. To get access to this dashboard you need to follow these steps:

Steps

1. Create a personal service account

Create a personal temporary Aiven service account using nais-cli:

nais aiven create opensearch \
    <username> \
    <team> \
    --access <access-level> \
    --instance <name-of-instance>

where

  • <username> is a descriptive name for the service account, e.g. your name.
  • <team> is the name of the team that owns the OpenSearch instance.
  • <access-level> is one of the available access levels, such as read.
  • <name-of-instance> is the name of the OpenSearch instance you want to access. A list of your team's instances can be found in Nais Console. If the name of the instance is prefixed with opensearch-<team>-, you must exclude this prefix when passing it to this command.

2. Retrieve credentials for service account

Retrieve the dashboard URI, username, and password for the service account you just created:

nais aiven get opensearch \
    <secret-name> \
    <namespace>

where <secret-name> is the name of the Kubernetes secret created in the previous step.