Get average number of hits per time periode


I am looking for a methode to get the number of hits in a time periode. So for example: The average of the number hits per day in the last month.
Am I right that there is no way to do this in Kibana? But my question: is there maybe a way to use the count number in the response of a research? So maybe with a script?

Thanks for your ideas!

If I understood you correctly, I think what you are looking for is this enhancement request: