Nginx TCP stream access log

Howdy folks,

We are using nginx with stream TCP support but we are wondering if
there is a way to have access logs for TCP for at least to know a few
things such as:

  • timestamp (of request)
  • source address.
  • destination address
  • time.

Is there a way to log this information?

nginx version: nginx/1.9.9

Thanks!

Pablo