Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
Hi,
I'm currenty using this configuration to save logs to a file but it captures activity from all users:
set system syslog file logsfile any notice
How would I go about generating a log file which will only capture activity of a specific user only?
Thanks!
Replace USERNAME with the username.
system { syslog { file user-USERNAME { interactive-commands any; match "USERNAME"; } } }
--If this post solves your problem, please mark this post as "Accepted Solution".Kudos are appreciated