doc-exports/docs/css/umn/css_02_0099.html
Zheng, Xiu 5b5876528a CSS UMN 22.5.1 Version
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>
2023-03-29 17:17:49 +00:00

2.2 KiB

How Do I Query Index Data on Kibana in an ES Cluster?

Run the following command to query index data through an API on Kibana:

GET indexname/_search

The returned data is shown in the following figure.

Figure 1 Returned data
  • took: How many milliseconds the query cost.
  • time_out: Whether a timeout occurred.
  • _shard: 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.
  • hits.total: Number of query results. Three documents are returned in this example.
  • max_score: Score of the returned documents. The document that is more relevant to your search criteria would have a higher score.
  • hits.hits: Detailed information of the returned documents.