Forum Discussion

FM_Bill_363989's avatar
FM_Bill_363989
Icon for Nimbostratus rankNimbostratus
Jun 11, 2018

Audit virtual server's log profile

Is there a way I can audit virtual servers, to see if the log profile was left empty? Trying to figure a way to not have to manually check each individually.

 

1 Reply

  • Something like this may help check all the VS:

    (tmos) list ltm virtual profiles security-log-profiles | grep "ltm\|log"

    You can search just for the VS with "none" in the security log profile with this:

     tmsh list ltm virtual profiles security-log-profiles | grep "ltm\|log" | egrep -B1 "none"