Hi everyone! Here I am again. I’ve been trying for weeks to configure Audit Logging in Samba. I enabled Audit Logging on the desired shared folder, enabled Grafana, and went to Samba Audit search, but the log is quite confusing.
I know that both the Samba and Windows Server logs are quite “polluted,” so I’m looking for some alternative to make my life easier. Is there anything else I can do?
I tried the step-by-step instructions from mrmarkuz:
I read the documentation and enabled the auditing option. The log is sent to Grafana normally. The log generates many lines for just one action.
For example, when I delete a file, 3 to 6 lines of log are generated, all with create_file (file|open|0xOPERATION_CODE). I know this is normal, since the deletion process involves several steps… But is there any way to simplify it to something simpler, or some third-party application?
Example:
Currently
datetime | share | path | username | IP | operation
2025-12-23 14:37:03 | TEST | /DirName | LAB\Administrator | 123.456.789 | create_file (file|open|0x100081) | (…)