Save audit samba audit logs in seperate files

  • Is it possible in the system to write audit logs in separate files that can be exported in a script to the ftp statistics server.

    I can see audit log records only in syslog, but files in sabma logs have 0 size.


    Best Regards, Evhenii

  • Thanks.

    I solve this another way.

    I add this line in /etc/rsyslog.conf

    Bash
    local7.notice -/var/log/samba/log.audit

    And export daily files in ftp server by cron.

    After export i clean log.audit

    Bash
    truncate /var/log/samba/log.audit --size 0



    Best Regards, Evhenii

  • votdev

    Added the Label OMV 5.x
  • votdev

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!