Logging for each query requested in elasticsearch cluster


#1

I was wondering if it is possible to add logs of each query being hit to elasticsearch regardless of its success or failure.
If possible certain information of user querying it to the log.


(David Pilato) #2

With the slowlog you can potentially log every single request but it may dramatically slow down your service.
About "user", well if you are using x-pack, then you can use audit logging may be? Unsure if all queries are logged though.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.