how to get search rate in elasticsearch ?
example
{ "search_rate": [ { "key_as_string" : "2019-02-13T13:26:30.000Z", "key" : 1550064390000, "doc_count": 0, "rate": 0, }, { "key_as_string" : "2019-02-13T13:27:00.000Z", "key" : 1550064420000, "doc_count": 49, "rate": 1.633, } ] }