Getting an OpenSearch Cluster's Details
To connect and work with an OpenSearch cluster and the cluster's OpenSearch Dashboards, get the details for the cluster.
Open the navigation menu and click Databases. Under OpenSearch, click Clusters.
Under List scope, select the compartment that contains the cluster.
In the Clusters list, click the name of the cluster that you want to view the details for.
The following fields on the cluster details page contain important information that you use when connecting to the cluster:
- API endpoint
- Private IP
- OpenSearch Dashboards API endpoint
- OpenSearch Dashboards Private IP
-
Click Show to display the full value for a field in the Console, and click Copy to copy the value.
For more information, see Cluster Connection Information in Connecting to a Cluster.
Use the oci opensearch cluster get command and required parameter to get the details for a cluster:
oci opensearch cluster get --opensearch-cluster-id cluster_ocid [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
- For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.
Run the GetOpensearchCluster operation to get a cluster's details.