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:
Prerequisites ΒΆ
For production services, you need to have the aiven-prod gateway enabled in Naisdevice.
This is done through Just In Time Access (JITA).
Steps ΒΆ
1. Create a personal service account ΒΆ
Create a personal temporary Aiven service account using nais-cli:
shell
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. -
<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 withopensearch-<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:
shell
nais aiven get opensearch \
<secret-name> \
<namespace>where <secret-name> is the name of the Kubernetes secret created in the previous step.