How to log all search request to es

(wangqinghuan) #1

hi , i want to record all elasticsearch access log contains request body so that i can find those incorrect request. Does elasticsearch have any support?

(Alexander Reelsen) #2

you could use the search slow log in combination with a 0 threshold

Note that this will log all those requests to all shards.

(system) #3

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