I created a new group, and I need to audit how many users are accessing this folder

Dear team,

My Nextcloud instance is running on Kubernetes, and the Nextcloud version is 25. Recently, I created a group folder, and for audit purposes, I need to track who is accessing this folder. I have added the following configuration to my configuration file, but I am not receiving any logs under the logging section:

'log_type_audit' => 'syslog',
'syslog_tag_audit' => 'Nextcloud',
'logfile_audit' => '',
'log.condition' => [
    'apps' => ['admin_audit'],

I would appreciate any assistance in resolving this issue.

Best regards,

Hi @shyjustack

You don’t see the logs in the logging section, because you configured it to send them to your default syslog daemon.

If you want the admin audit log entries to appear in the web interface, you have to send them to your nextcloud.log file. See here: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html#integrating-into-the-web-interface

1 Like