I'd like to access the query history of users by invoking API for analyzing the user behavior. From the document, it seems that Elastic Search does not provide such an API for fetching query history. After googling, someone accomplished this by forwarding the log of Elastic Search to another Elastic Search server. In this forum, one related question was answered that slow log setting could make the Elastic Search server record both query requests and bodies. I am wondering that is any approach to retrieving the query history of an Elastic Search server? Any comment is greatly appreciated.