Executed Query Information

I would like to be able to display information and statistics on all the
queries that are executed in the search engine so I can determine what are
the most popular terms searched, if there are any common misspellings of
terms and so on.

Is it possible to get this information from elasticsearch or is it
something I'll have to build myself?

Thanks

--