Files
doc-exports/docs/css/umn/css_01_0441.html
zhengxiu 2125539080 css umn 25.1.0 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: zhengxiu <zhengxiu@huawei.com>
Co-committed-by: zhengxiu <zhengxiu@huawei.com>
2025-07-04 09:10:17 +00:00

97 lines
18 KiB
HTML

<a name="css_01_0441"></a><a name="css_01_0441"></a>
<h1 class="topictitle1">Logging In to an OpenSearch Cluster Using OpenSearch Dashboards</h1>
<div id="body0000001955726458"><p id="css_01_0441__p1958814818304">OpenSearch Dashboards is the data visualization and exploration platform for OpenSearch. It enables in-depth data analysis and interactive visualization. In CSS, OpenSearch Dashboards is pre-built for each OpenSearch cluster. You can start OpenSearch Dashboards with one click, without installing anything. OpenSearch Dashboards offers a comprehensive suite of dashboard features and visualization tools. It seamlessly integrates Elasticsearch's analytical capabilities, supporting the full analytics process, from data exploration to actionable business insights.</p>
<p id="css_01_0441__css_01_0382_p1430022194916">OpenSearch Dashboards supports multiple access methods. Steps needed to log in to an OpenSearch cluster vary depending on the access method you choose. For details, see <a href="#css_01_0441__css_01_0382_table123121443185113">Table 1</a>.</p>
<div class="tablenoborder"><a name="css_01_0441__css_01_0382_table123121443185113"></a><a name="css_01_0382_table123121443185113"></a><table cellpadding="4" cellspacing="0" summary="" id="css_01_0441__css_01_0382_table123121443185113" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Methods for logging In to an OpenSearch cluster through OpenSearch Dashboards</caption><thead align="left"><tr id="css_01_0441__css_01_0382_row7312843185110"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.4.1.1"><p id="css_01_0441__css_01_0382_p17312343195117">Kibana Access Method</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.4.1.2"><p id="css_01_0441__css_01_0382_p231274335116">Constraints</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.4.1.3"><p id="css_01_0441__css_01_0382_p18312174318513">Details</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0441__css_01_0382_row10312943185115"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.4.1.1 "><p id="css_01_0441__css_01_0382_p1931274375115">One-click access to OpenSearch Dashboards from the service console</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.4.1.2 "><p id="css_01_0441__css_01_0382_p20312184315112">N/A</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.4.1.3 "><p id="css_01_0441__css_01_0382_p1131294311516"><a href="#css_01_0441__css_01_0382_en-us_topic_0000001428595166_section3544291266">Logging In to an OpenSearch Cluster by Accessing OpenSearch Dashboards Through the Console</a></p>
</td>
</tr>
<tr id="css_01_0441__css_01_0382_row10312194320519"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.4.1.1 "><p id="css_01_0441__css_01_0382_p15312194325120">Accessing OpenSearch Dashboards using a public IP address</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.4.1.2 "><ul id="css_01_0441__css_01_0382_ul145885213222"><li id="css_01_0441__css_01_0382_li107458461238">Only clusters in security mode support OpenSearch Dashboards access through a public IP address.</li><li id="css_01_0441__li695318514719">The whitelist that controls Kibana public network access depends on whitelist support by the ELB service. After you update the whitelist, the new settings take effect immediately for new connections. For existing persistent connections using the IP addresses that have been removed from the whitelist, the new settings take effect in approximately 1 minute after these connections are disconnected.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.4.1.3 "><p id="css_01_0441__css_01_0382_p1331274311515"><a href="#css_01_0441__css_01_0382_section311713401714">Logging In to an OpenSearch Cluster by Accessing OpenSearch Dashboards Using a Public IP Address</a></p>
</td>
</tr>
<tr id="css_01_0441__css_01_0382_row143121943125114"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.4.1.1 "><p id="css_01_0441__css_01_0382_p19312194335114">Accessing OpenSearch Dashboards using a private IP address</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.4.1.2 "><p id="css_01_0441__css_01_0382_p19312144305111">Only servers in the same VPC as an OpenSearch cluster can access OpenSearch Dashboards using a private network address.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.4.1.3 "><p id="css_01_0441__css_01_0382_p33124439516"><a href="#css_01_0441__css_01_0382_section207611526916">Logging In to an OpenSearch Cluster by Accessing OpenSearch Dashboards Using a Private Network Address</a></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="css_01_0441__css_01_0382_section10349618115613"><h4 class="sectiontitle">Constraints Concerning the Use of OpenSearch Dashboards</h4><p id="css_01_0441__p1479521962610">You can customize the username, role name, and tenant name in OpenSearch Dashboards.</p>
</div>
<div class="section" id="css_01_0441__css_01_0382_en-us_topic_0000001428595166_section3544291266"><a name="css_01_0441__css_01_0382_en-us_topic_0000001428595166_section3544291266"></a><a name="css_01_0382_en-us_topic_0000001428595166_section3544291266"></a><h4 class="sectiontitle">Logging In to an OpenSearch Cluster by Accessing OpenSearch Dashboards Through the Console</h4><ol id="css_01_0441__css_01_0382_en-us_topic_0000001428595166_ol19122182891618"><li id="css_01_0441__css_01_0382_en-us_topic_0000001428595166_li17122102801616">Log in to the <span id="css_01_0441__css_01_0382_en-us_topic_0000001428595166_text1012262841618">CSS</span> management console.</li><li id="css_01_0441__css_01_0382_en-us_topic_0000001428595166_li112262815169">On the <span class="uicontrol" id="css_01_0441__uicontrol778519154532"><b>Clusters</b></span> page, locate the target cluster and click <span class="parmvalue" id="css_01_0441__parmvalue6785015105317"><b>Access Kibana</b></span> in the <span class="uicontrol" id="css_01_0441__uicontrol6785111525315"><b>Operation</b></span> column to go to the OpenSearch Dashboards login page.<ul id="css_01_0441__css_01_0382_en-us_topic_0000001428595166_ul20122192891614"><li id="css_01_0441__css_01_0382_en-us_topic_0000001428595166_li412212815169">Non-security mode cluster: The OpenSearch Dashboards console is displayed.</li><li id="css_01_0441__css_01_0382_en-us_topic_0000001428595166_li612219289162">Security-mode cluster: Enter the username and password on the login page and click <span class="uicontrol" id="css_01_0441__uicontrol103576885416"><b>Log In</b></span> to go to the OpenSearch Dashboards console. The default username is <strong id="css_01_0441__b8686996394529">admin</strong> and the password is the administrator password you specified during cluster creation.</li></ul>
</li><li id="css_01_0441__css_01_0382_en-us_topic_0000001428595166_li1812242815165">After logging in, you can perform operations on the <strong id="css_01_0441__b34811157394529">OpenSearch Dashboards</strong> page to access the cluster.</li></ol>
</div>
<div class="section" id="css_01_0441__css_01_0382_section311713401714"><a name="css_01_0441__css_01_0382_section311713401714"></a><a name="css_01_0382_section311713401714"></a><h4 class="sectiontitle">Logging In to an OpenSearch Cluster by Accessing OpenSearch Dashboards Using a Public IP Address</h4><div class="note" id="css_01_0441__css_01_0382_note37617321133"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="css_01_0441__ul185721930195119"><li id="css_01_0441__css_01_0441_css_01_0382_li107458461238">Only clusters in security mode support OpenSearch Dashboards access through a public IP address.</li><li id="css_01_0441__css_01_0441_li695318514719">The whitelist that controls Kibana public network access depends on whitelist support by the ELB service. After you update the whitelist, the new settings take effect immediately for new connections. For existing persistent connections using the IP addresses that have been removed from the whitelist, the new settings take effect in approximately 1 minute after these connections are disconnected.</li></ul>
<ul id="css_01_0441__css_01_0382_ul744894312231"><li id="css_01_0441__li151771216491">If you disable Kibana public network access and then re-enable it, the public IP address for accessing Kibana may change. Exercise caution.</li></ul>
</div></div>
<ol id="css_01_0441__css_01_0382_ol718616359918"><li id="css_01_0441__css_01_0382_li3663173615112">Log in to the CSS management console.</li><li id="css_01_0441__css_01_0382_li41863351196">Enable Kibana public network access for the OpenSearch cluster. You can do that either when creating an Elasticsearch cluster or afterwards.<ul id="css_01_0441__css_01_0382_ul1198731165"><li id="css_01_0441__css_01_0382_li4986316160">For how to enable Kibana public network access when creating an Elasticsearch cluster, see <a href="css_01_0275.html">Creating an OpenSearch Cluster</a>.</li><li id="css_01_0441__css_01_0382_li16982381617">To enable public network access for Kibana for an existing cluster, perform the following steps:<ol type="a" id="css_01_0441__css_01_0382_en-us_topic_0000001268394285_ol179019266146"><li id="css_01_0441__css_01_0382_en-us_topic_0000001268394285_li106254357143">Choose <strong id="css_01_0441__b102208520294529">Clusters</strong> in the navigation pane. On the <span class="wintitle" id="css_01_0441__wintitle179611831694529"><b>Clusters</b></span> page, click the name of the target cluster.</li><li id="css_01_0441__css_01_0382_en-us_topic_0000001268394285_li341918231507">Click the <strong id="css_01_0441__b67869500994529">Kibana Public Access</strong> tab, and enable <strong id="css_01_0441__b21663764694529">Kibana Public Access</strong>.</li><li id="css_01_0441__css_01_0382_en-us_topic_0000001268394285_li78118230213">On the displayed page, set parameters. If Kibana public network access is already enabled, you can modify relevant settings.
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0441__css_01_0382_en-us_topic_0000001268394285_table145611511676" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Configuring public network access for Kibana</caption><thead align="left"><tr id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_row13115543918"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.6.3.2.1.2.1.3.1.2.3.1.1"><p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p6115643517">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.6.3.2.1.2.1.3.1.2.3.1.2"><p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p1611564318117">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_row15116743917"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.3.2.1.2.1.3.1.2.3.1.1 "><p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p10116443611">Bandwidth</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.3.2.1.2.1.3.1.2.3.1.2 "><p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p1911615431411">Bandwidth for accessing Kibana through a public IP address</p>
<p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p458617258523">Value range: 1 to 100.</p>
<p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p209154432526">Unit: Mbit/s</p>
</td>
</tr>
<tr id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_row1811610437113"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.3.2.1.2.1.3.1.2.3.1.1 "><p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p911634315111">Access Control</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.3.2.1.2.1.3.1.2.3.1.2 "><p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p4116114313112">If you disable this function, all IP addresses can access Kibana through the public IP address. If you enable this function, only IP addresses or IP address ranges in the whitelist can access Kibana through the public IP address.</p>
</td>
</tr>
<tr id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_row191163438120"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.3.2.1.2.1.3.1.2.3.1.1 "><p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p911694312110">Whitelist</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.3.2.1.2.1.3.1.2.3.1.2 "><p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p4116164313119">IP addresses or IP address ranges allowed to access the cluster. Use commas (,) to separate multiple IP addresses or ranges. This parameter can be configured only when <strong id="css_01_0441__css_01_0380_b200581461025619">Access Control</strong> is enabled.</p>
<p id="css_01_0441__css_01_0380_en-us_topic_0000001268394285_p4726101014818">You are advised to enable the whitelist.</p>
<div class="note" id="css_01_0441__css_01_0380_note367029122416"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="css_01_0441__css_01_0380_p171085328241">The whitelist that controls Kibana public network access depends on whitelist support by the ELB service. After you update the whitelist, the new settings take effect immediately for new connections. For existing persistent connections using the IP addresses that have been removed from the whitelist, the new settings take effect in approximately 1 minute after these connections are disconnected.</p>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="css_01_0441__css_01_0382_en-us_topic_0000001268394285_li10845133416104">Click <strong id="css_01_0441__b65653678994529">OK</strong>.</li></ol>
</li></ul>
</li><li id="css_01_0441__css_01_0382_li2493238175917">After Kibana public network access is enabled, obtain the Kibana public IP address on the <strong id="css_01_0441__b181880797894529">Kibana Public Access</strong> page.</li><li id="css_01_0441__css_01_0382_li2613145095913">Enter the Kibana public IP address in the browser address box to go to the OpenSearch Dashboards login page.<p id="css_01_0441__p1167441914347"><a name="css_01_0441__css_01_0382_li2613145095913"></a><a name="css_01_0382_li2613145095913"></a>Enter the username and password on the login page and click <span class="uicontrol" id="css_01_0441__uicontrol1795510714368"><b>Log In</b></span> to log in to the OpenSearch Dashboards console. The default username is <strong id="css_01_0441__b30952176794529">admin</strong> and the password is the administrator password you specified during cluster creation.</p>
</li><li id="css_01_0441__css_01_0382_li61231640803">After the login is successful, you can access the OpenSearch cluster through OpenSearch Dashboards.</li></ol>
</div>
<div class="section" id="css_01_0441__css_01_0382_section207611526916"><a name="css_01_0441__css_01_0382_section207611526916"></a><a name="css_01_0382_section207611526916"></a><h4 class="sectiontitle">Logging In to an OpenSearch Cluster by Accessing OpenSearch Dashboards Using a Private Network Address</h4><div class="note" id="css_01_0441__css_01_0382_note0672161312216"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_01_0441__css_01_0382_p98320511928">Only servers in the same VPC as an OpenSearch cluster can access OpenSearch Dashboards using a private network address.</p>
</div></div>
<ol id="css_01_0441__css_01_0382_ol188058223"><li id="css_01_0441__css_01_0382_li128801887214">Log in to the CSS management console.</li><li id="css_01_0441__css_01_0382_li138731117748">On the OpenSearch <strong id="css_01_0441__b204981388594529">Clusters</strong> page, click the name of a cluster. The <strong id="css_01_0441__b186128462594529">Cluster Information</strong> page is displayed.</li><li id="css_01_0441__css_01_0382_li1035913231757">On the <strong id="css_01_0441__b67160222294529">Cluster Information</strong> page, obtain the cluster's private network address.<div class="fignone" id="css_01_0441__css_01_0382_fig2025218384518"><span class="figcap"><b>Figure 1 </b>Obtaining the private IP address</span><br><span><img id="css_01_0441__css_01_0382_image1225211382055" src="en-us_image_0000001992938337.png"></span></div>
</li><li id="css_01_0441__css_01_0382_li159263615107">Change the port number in the cluster's private network address from <strong id="css_01_0441__b188079574794529">9200</strong> to <strong id="css_01_0441__b10573588994529">5601</strong>, which becomes the private network address of OpenSearch Dashboards. For example, if the cluster's private network IPv4 address is <strong id="css_01_0441__b167197443894529">192.168.0.***:9200</strong>, the private network address of OpenSearch Dashboards is <strong id="css_01_0441__b168822906694529">192.168.0.***:5601</strong>.</li><li id="css_01_0441__css_01_0382_li1882885214">On the server, enter the private network address of OpenSearch Dashboards to go to the OpenSearch Dashboards login page.<ul id="css_01_0441__css_01_0382_ul3882986211"><li id="css_01_0441__css_01_0441_css_01_0382_en-us_topic_0000001428595166_li412212815169">Non-security mode cluster: The OpenSearch Dashboards console is displayed.</li><li id="css_01_0441__css_01_0441_css_01_0382_en-us_topic_0000001428595166_li612219289162">Security-mode cluster: Enter the username and password on the login page and click <span class="uicontrol" id="css_01_0441__css_01_0441_uicontrol103576885416"><b>Log In</b></span> to go to the OpenSearch Dashboards console. The default username is <strong id="css_01_0441__css_01_0441_b8686996394529">admin</strong> and the password is the administrator password you specified during cluster creation.</li></ul>
</li><li id="css_01_0441__css_01_0382_li188821381226">After the login is successful, you can access the OpenSearch cluster through OpenSearch Dashboards.</li></ol>
</div>
<div class="section" id="css_01_0441__section184711937193613"><h4 class="sectiontitle">Related Documents</h4><p id="css_01_0441__p152110334528">For routine O&amp;M tasks (such as shard adjustment, index management, and performance monitoring), you are advised to use Cerebro for cluster login. For details, see <a href="css_01_0442.html">Logging In to an OpenSearch Cluster Through Cerebro</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0288.html">Accessing an OpenSearch Cluster</a></div>
</div>
</div>