# Nginx TCP stream access log

**URL:** <https://www.ruby-forum.com/t/nginx-tcp-stream-access-log/244401>\
**Category:** NGINX\
**Created:** [April 4, 2016, 10:31pm UTC](https://www.ruby-forum.com/t/nginx-tcp-stream-access-log/244401 "2016-04-04T22:31:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [April 4, 2016, 10:31pm UTC](https://www.ruby-forum.com/t/nginx-tcp-stream-access-log/244401/1 "2016-04-04T22:31:57Z")

</div>

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
