Audit Logging & Controls

Objective

In this lab you will examine the audit capabilities of the F5 BIG-IP platform. Audit controls allow administrators to review changes that have been made to the system, and determine what users have made those changes. This can help to uncover mistakes or unauthorized changes to the configuration.

Lab

Estimatied completion time: 10-12 minutes.

Login to the BIG-IP

  1. If you are not already logged in, locate BIGIP-01 in the UDF Lab environment.

  2. Select Access -> TMUI to connect to the management interface.

  3. Login as admin. If you need the password, it can be found under the system details in UDF.

Review the Audit Logs

  1. Ensure you are logged into the BIG-IP's TMUI as admin. If you're still logged in as App01Operator from the last lab, the log menu will not appear.

  2. Navigate to System -> Logs.

  3. Hover over the Audit tab, then click List

    ../../../_images/audit-1.png
  4. You should be greeted with a screen similar to this:

    ../../../_images/audit-2.png

    Note

    If the audit trail is large, you may also see a warning like this:

    ../../../_images/audit-3.png

    For more information on reviewing logs from the shell, see K16197

  5. If you scroll through the logs, you should be able to see the actions you took in the previous labs. Some examples below:

    ../../../_images/audit-4.png

    ../../../_images/audit-5.png
  6. See what else you can find. You may notice that many of the the audit trail events are represented as TMSH commands.

Search the Audit Logs

  1. Hover over the Audit tab and click Search.

  2. Replace the asterisk in the User Name field with App01Admin:

    ../../../_images/audit-6.png
  3. The search criteria will automatically be populated with the current date and time. Be sure to adjust accordingly so that you can see events from the prior lab then click Search

    ../../../_images/audit-7.png

    Important

    Double check the time zone that the BIG-IP is set to. As of this writing, the lab was configured in PST. The time zone is visible at the top of the screen.

  4. You'll notice that you don't see any of the object creation events in the audit log:

    ../../../_images/audit-8.png

    Important

    This is because the TMUI is executing commands on behalf of the user and the username is not logged in the User Name field.

  5. Return to the search box and replace the username with an asterisk, then replace the event text with *App01Admin*. Click Search again.

    ../../../_images/audit-9.png
  6. You should now see your pool, pool member, and virtual server creation events:

    ../../../_images/audit-10.png

Note

For more information on logging, see K15521451