Help Center> Cloud Search Service> FAQs> Open Source Search Engine Consulting> How Do I Query Index Data on Kibana in an ES Cluster?
Updated on 2023-09-20 GMT+08:00

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
Table 1 Parameters

Parameter

Description

took

Indicates how many milliseconds the query cost.

time_out

Indicates whether the query times out.

_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

Open Source Search Engine Consulting FAQs

more