Logging of session information.

I would like to log every network session coming out from NAT portion (masquerade and port forwarding) of the Mikrotik router to an external syslog server. Actually our local law requires network operators to log all session information connected to their networks. I’ll would like to test out that on a Mikrotik router.
There seems not to be a standard Mikrotik feature for that. Do I need a script for that or is there another way?

Has anyone got a working configuration

…log all session information connected to their networks

with recommendation for external syslog server.

I as well am interested in that feature. I found it hard to understand why it is not a standard ROS feature. I doubt that Latvian law is that much different in that regard to ISP session logging requirement.

Hi,
Do you find any solution to do it ? I need this feature too but not find any solution yet.

Use netflows (known as Traffic Flow in the MikroTik). It will be the most workable solution for you in most cases. It does require a collector/analyzer to be setup and the router pointed to it. There are many paid for solutions and free solutions out there, it just depends on how much time and money you are willing to spend on this.