Files
doc-exports/docs/css/umn/css_02_0067.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

18 lines
2.2 KiB
HTML

<a name="css_02_0067"></a><a name="css_02_0067"></a>
<h1 class="topictitle1">How Do I Clear Elasticsearch Indexes in CSS?</h1>
<div id="body1587038134114"><div class="note" id="css_02_0067__note914562614339"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_02_0067__p151451826113317">Before deleting index data, carefully evaluate any potential impact on services.</p>
</div></div>
<ul id="css_02_0067__ul10581145211172"><li id="css_02_0067__li12581145211718">Have indexes automatically cleared on a regular basis.<p id="css_02_0067__p850418437148"><a name="css_02_0067__li12581145211718"></a><a name="li12581145211718"></a>You can create a scheduled task to execute an index deletion request periodically. CSS supports Open Distro Index State Management. For details about how to clear obsolete indexes periodically, see <a href="css_01_0421.html">Decoupling Index Storage and Compute in an Elasticsearch Cluster Through Index Lifecycle Management</a>.</p>
<p id="css_02_0067__p19914172125018">For details about Open Distro Index State Management, see https://opendistro.github.io/for-elasticsearch-docs/docs/im/ism/.</p>
</li><li id="css_02_0067__li1783072461815">Manually clear indexes.<ul id="css_02_0067__ul1571319181916"><li id="css_02_0067__li912598111914">Log in to Kibana and run the <strong id="css_02_0067__b57211333377">DELETE / Index name</strong> command in Dev Tools.</li><li id="css_02_0067__li141365815191">Log in to Cerebro, search for the target index name, click the index name, click <strong id="css_02_0067__b121122414019"><span class="parmvalue" id="css_02_0067__parmvalue11335151762319"><b>delete index</b></span></strong>, and click <span class="parmvalue" id="css_02_0067__parmvalue135401220122319"><b>Confirm</b></span> in the displayed dialog box.<div class="fignone" id="css_02_0067__fig3463184310248"><span class="figcap"><b>Figure 1 </b>Deleting an index from Cerebro</span><br><span><img id="css_02_0067__image13100173912244" src="en-us_image_0000001960517893.png"></span></div>
</li></ul>
</li></ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_02_0055.html">Using CSS Cluster Search Engines</a></div>
</div>
</div>