Calculate avg query and fetch time


(Muzammil Rehman) #1

Hey

I would like to calculate the avg query and fetch time on my elasticsearch
server. I have tried to get it from http://localhost:9200/_stats
http://pastebin.com/rnevMFRX but i am confused as the query_time and
fetch_time keep increasing on every search i make on kibana UI. I am trying
to build a graph of this stats to be presented to my management.

Any help will be greatly appreciated.

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Muzammil Rehman) #2

it just hit me....

query_time_in_millis/query_total <== will this give me avg query time ?
same thing for fetch ..

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3