Monitoring search queries in elasticsearch

Hi
We have a project that allows users to upload and shares documents.
We have implemented the search in the documents with Elasticsearch v6.3.
We want to provide search analytics to the user -- like what are the top searches in one's document.

What is the possible/best approch to do this?

You could use Audit logging functionality to capture the incoming request body. Please refer here for more details