Administer > NNMi Auditing > Specify the Number of Days to Retain NNMi Audit Logs

Specify the Number of Days to Retain NNMi Audit Logs

All content in this chapter is customer visible.

By default, NNMi retains each archived audit log file, one per day, for 14 days.

To change the number of days that NNMi retains archived audit log file:

Note This number does not affect the current day's audit log file.

  1. Open the following configuration file:

    Windows

    %NnmDataDir%\nmsas\NNM\conf\nms-audit-config.xml

    Linux

    $NnmDataDir/nmsas/NNM/conf/nms-audit-config.xml
  2. Locate the text block containing the following:

    <retain>14</retain>
  3. Modify the line to include the number of days NNMi should retain each audit log file. For example, to change the number of days to one week, enter:

    <retain>7</retain>

    In response, NNMi retains the following:

    • the current audit log
    • one audit log per day for 7 additional days
  4. Save your changes.

  5. Restart the NNMi management server:

    Run the ovstop command on the NNMi management server.

    Run the ovstart command on the NNMi management server