forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com> Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
18 lines
2.2 KiB
HTML
18 lines
2.2 KiB
HTML
<a name="css_02_0099"></a><a name="css_02_0099"></a>
|
|
|
|
<h1 class="topictitle1">How Do I Query Index Data on Kibana in an ES Cluster?</h1>
|
|
<div id="body0000001467352485"><p id="css_02_0099__p1422617489554"></p>
|
|
<p id="css_02_0099__p1126901063015">Run the following command to query index data through an API on Kibana:</p>
|
|
<pre class="screen" id="css_02_0099__screen1263615520">GET indexname/_search</pre>
|
|
<p id="css_02_0099__p1228116093114">The returned data is shown in the following figure.</p>
|
|
<div class="fignone" id="css_02_0099__fig46638467312"><span class="figcap"><b>Figure 1 </b>Returned data</span><br><span><img id="css_02_0099__image966474653118" src="en-us_image_0000001528097325.png"></span></div>
|
|
<div class="note" id="css_02_0099__note15991055655"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="css_02_0099__ul1743825669"><li id="css_02_0099__li243805269"><span class="parmname" id="css_02_0099__parmname49769451465"><b>took</b></span>: How many milliseconds the query cost.</li><li id="css_02_0099__li2012158662"><span class="parmname" id="css_02_0099__parmname0322193914619"><b>time_out</b></span>: Whether a timeout occurred.</li><li id="css_02_0099__li142321710362"><span class="parmname" id="css_02_0099__parmname772913411878"><b>_shard</b></span>: Data is split into five shards. All of the five shards have been searched and data is returned successfully. No query result fails to be returned. No data is skipped.</li><li id="css_02_0099__li548712122615"><span class="parmname" id="css_02_0099__parmname09672441172"><b>hits.total</b></span>: Number of query results. Three documents are returned in this example.</li><li id="css_02_0099__li126817141367"><span class="parmname" id="css_02_0099__parmname5208748378"><b>max_score</b></span>: Score of the returned documents. The document that is more relevant to your search criteria would have a higher score.</li><li id="css_02_0099__li297811168616"><span class="parmname" id="css_02_0099__parmname4910135317719"><b>hits.hits</b></span>: Detailed information of the returned documents.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_02_0073.html">Kibana</a></div>
|
|
</div>
|
|
</div>
|
|
|