Security

last person joined: 19 hours ago 

Ask questions and share experiences with Juniper Connected Security. Discuss Advanced Threat Protection, SecIntel, Secure Analytics, Secure Connect, Security Director, and all things related to Juniper security technologies.
  • 1.  Generating logs for specific users only

    Posted 11-15-2016 09:42

    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!



  • 2.  RE: Generating logs for specific users only
    Best Answer

    Posted 11-15-2016 13:39

     

     

    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