am assuming that you want to log and monitor the traffic which is passing through a hardware router.
Your question seems incomplete to me because at router level, it is difficult to decide if data which is being transferred is for web or something else.
You can treat all TCP/IP data transfer as web data or to be more precise, you can treat data passing through port 80 as web data. ( As port 80 is default http protocol), but technically speaking http server can listen on any available port.…