Files
doc-exports/docs/css/umn/css_01_0075.html
zhengxiu 93d856d5c5 css umn 25.6.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-11-25 11:34:43 +00:00

27 lines
6.5 KiB
HTML

<a name="EN-US_TOPIC_0000001938377572"></a><a name="EN-US_TOPIC_0000001938377572"></a>
<h1 class="topictitle1">Setting Tags for an Elasticsearch Cluster</h1>
<div id="body1567234141579"><p id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_p14723132511302">Tags are cluster identifiers. Adding tags to clusters helps you identify and manage your cluster resources.</p>
<p id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_p1572313257306">Tags can be added during or after cluster creation. If you want to use the same tag to identify multiple cloud resources for better resource grouping, we recommend that you predefine tags in Tag Management Service (TMS). For details, see Tag Management Service User Guide.</p>
<div class="section" id="EN-US_TOPIC_0000001938377572__section269604132115"><h4 class="sectiontitle">Constraints</h4><ul id="EN-US_TOPIC_0000001938377572__ul1550223619189"><li id="EN-US_TOPIC_0000001938377572__li11502193631811">Each cluster can have a maximum of 20 tags.</li><li id="EN-US_TOPIC_0000001938377572__li1450243611810">If your organization has configured tag policies for CSS, add tags to clusters based on these policies. If a tag does not comply with existing tag policies, cluster creation may fail. Contact the administrator to learn more about these policies.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_section13713355214"><h4 class="sectiontitle">Managing Tags</h4><p id="EN-US_TOPIC_0000001938377572__p061991095910">In CSS, you can add, delete, modify, and query cluster tags.</p>
<ol id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_ol7898184161913"><li id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li1898640199"><span id="EN-US_TOPIC_0000001938377572__ph152259618315">Log in to the CSS management console.</span></li><li id="EN-US_TOPIC_0000001938377572__li2194161984010">In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001938377572__uicontrol90218548185137"><b>Clusters &gt; Elasticsearch</b></span>.</li><li id="EN-US_TOPIC_0000001938377572__li1219431918401">In the cluster list, click the name of the target cluster. The cluster information page is displayed.</li><li id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li162741326144816">Select the <strong id="EN-US_TOPIC_0000001938377572__b136128216204">Tags</strong> tab, where you can add, modify, or delete tags for the current cluster.<ul id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_ul11171525155511"><li id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li61610259555">View<p id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_p3163256557"><a name="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li61610259555"></a><a name="en-us_topic_0000001223914384_li61610259555"></a>On the <strong id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_b842352706161835">Tags</strong> page, you can view details about tags of the cluster, including the number of tags and the key and value of each tag.</p>
</li><li id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li1016182514559">Add<p id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_p1416152519553"><a name="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li1016182514559"></a><a name="en-us_topic_0000001223914384_li1016182514559"></a>Click <strong id="EN-US_TOPIC_0000001938377572__b1327217298172">Edit Tag</strong> in the upper left corner. In the displayed dialog box, click <strong id="EN-US_TOPIC_0000001938377572__b166325345172">Add Tag</strong>, enter the tag key and value, and click <strong id="EN-US_TOPIC_0000001938377572__b7588210191715">OK</strong>.</p>
</li><li id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li31672515510">Modify<p id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_p1116725125510"><a name="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li31672515510"></a><a name="en-us_topic_0000001223914384_li31672515510"></a>Click <strong id="EN-US_TOPIC_0000001938377572__b14951740191713">Edit Tag</strong> in the upper left corner. In the displayed dialog box, modify the key and value of a tag, and click <strong id="EN-US_TOPIC_0000001938377572__b1951194041713">OK</strong>.</p>
</li><li id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li17166257551">Delete<p id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_p101610256555"><a name="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li17166257551"></a><a name="en-us_topic_0000001223914384_li17166257551"></a>Click <strong id="EN-US_TOPIC_0000001938377572__b649117161817">Edit Tag</strong> in the upper left corner. In the displayed dialog box, click <strong id="EN-US_TOPIC_0000001938377572__b1355615380183">Delete</strong> in the row that contains a tag, and click <strong id="EN-US_TOPIC_0000001938377572__b44961781812">OK</strong>.</p>
</li></ul>
</li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_section9523193414234"><h4 class="sectiontitle">Searching for Clusters by Tag</h4><ol id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_ol580535210235"><li id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li208055521238"><span id="EN-US_TOPIC_0000001938377572__ph97841146102816">Log in to the CSS management console.</span></li><li id="EN-US_TOPIC_0000001938377572__li2555617292">In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001938377572__uicontrol152212837885137"><b>Clusters &gt; Elasticsearch</b></span>.</li><li id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li5704921102415">In the cluster list, click the search box, and select a tag key and value to search for the target cluster.<p id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_p13576585515"><a name="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_li5704921102415"></a><a name="en-us_topic_0000001223914384_li5704921102415"></a>You can select a tag key or tag value from their drop-down lists. The system returns a list of clusters that exactly match the tag key or tag value. If you enter multiple tags, the cluster that meets requirements of all the tags will be filtered.</p>
<p id="EN-US_TOPIC_0000001938377572__en-us_topic_0000001223914384_p19175450115918">You can add a maximum of 10 tags at one time.</p>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0009.html">Managing Elasticsearch Clusters</a></div>
</div>
</div>