How to log all search request to es

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?

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

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

1 Like

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