Files
doc-exports/docs/css/umn/en-us_topic_0000001527777441.html
Zheng, Xiu 2dfeaff8f9 css umn 23.5.1 20240520
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>
2024-06-06 16:15:58 +00:00

2.6 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.