I am using elasticsearch and looking for a way to get all the queries which are getting executed in the elasticsearch. Basically I want to log all the queries.
I read that one way is that we can decrease the threshold value of the slow log query so that it will start logging into the log file.
But the above approach will result in writing too many logs and I fear it might effect the performance,
Is there a better way to log all the queries?
Thanks in advance,