How to get detailed logs with headers and request body?

How can I log headers and request body based on the auth key, and can we push those logs to kafka?

Have you had a look at our Useful Debug Modes documentation?