Logging ip connections

Is there a way to setup logging of IP connections for a certain period of time? I’d like to then be able to export that log file. I can see the real time connection in the IP Firewall window, but I don’t see anything for exporting a log file. I’m running RouterOS 5.7. Thanks!

Make firewall rule /ip firewall filter action=log.
Configure /system logging and /system logging action.

  • set info logs to be saved on disk;
  • set /system logging action disk to save logs to files.