Where to find "search latency" in the API's?

On the Marvel screens you can see the "search latency" but I can't seem to find that metric in any of the API's (at least not with that name or something similar), granted that there are quite a lot of them and in turn a lot of number in each. Could someone point me in the right direction, so which API and what the metric is called in that API?

Hi @frankkoornstra,

the description of this field says:

Average latency for searching, which is time it takes to execute searches divided by number of searches submitted. This considers primary and replica shards.

There is no API where you get this exact metric but you should be able to get the raw data from the indices stats API.

Daniel

Alright, thanks for the help :slight_smile:

You're welcome. :slight_smile: