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.