Kibana API Result format

Hi Everyone,

I write one query in the Kibana console that provides me some JSON result I want to know about some insight into the Json result

{
"took" : 11,
"timed_out" : false,
"_shards" : {
"total" : 10,
"successful" : 10,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 348,
"relation" : "eq"
},
"max_score" : 117.567535,
"hits" : [
{

I want to know what is difference between took and value fields

This is a standard Elasticsearch response, which is documented here: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html#search-api-response-body

took is a value in milliseconds. hits.total.valueis documented as well, but has two modes: either exact value or gte value

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.