Purging the Status Table

Most Junos Scope operations add multiple status records to the Status table. As more operations are performed, this table grows in size and consumes disk space on the Junos Scope software server. The data in the Status table is useful only to administrators. From time to time, you must remove records that are no longer used in this table, and reclaim disk space if you are an administrator. You can purge all or selected status log records after filtering using the filter options provided in the Purge GUI.


You can filter Status Records, select the records to be purged and delete them.

To purge the Status table, follow these steps:

  1. From the Junos Scope main window, click Monitor > Purge >Status. The Status Records Filter options dialog box appears.
    Image status_records_filter_options.gif
  2. Select the records you want to purge. You can choose to select all, records within a specified date range, or records that are a specified number of months old:
    • Date Range: From Date (MM/DD/YYYY)/To Date (MM/DD/YYYY) option text boxes—Type the date range within which to delete status records. Click the calendar icon view a calendar from which you can select a date and get the local time. Click Local Time to view the current time. Click OK in to insert the date that you selected.
    • Months old operations option text box—Type the number months to go back and retrieve status records to purge.
    • All Operations option button—Selects all status records to purge.
    • Select from the following filter rules.
    • Limit to number of rows per page drop-down list box—Filters the operation status by the number of rows to display per page: 10, 25, 50, or 100. The default is 10 rows.
    • Sort results by column name drop-down list box—Sorts the results by the last updated time, operation name, operation type, device name, username, status, start time, or message. The default is to sort by the last updated time.
    • Currently in state check box and drop-down list box—Filters the operation status by those that are currently in a particular state: pending, connecting, working, writing, warning, success, and error. The default is pending. Select the check box to enable this filter rule.
    • Associated with user drop-down list box—Displays the operation status results that are associated with a selected username. The usernames that appear in the list box are the users that have been added using Settings > Users. Select the check box to enable this filter rule.
    • Operation type drop-down list box—Displays the current Junos Scope operations that you can save, such as archive, restore, report, scan inventory, install, and download. The default is archive. Select the check box to enable this filter rule.
  3. Click Filter to proceed with the purge operation. The View Filtered Status Records dialog box appears. Click Reset to clear all the values you have selected and return to the default values.
    Image view_filtered_status_records.gif

    The dialog box displays the filter criteria and the list of the filtered status records listed by operation name, operation type, device name, report name, username, final operation status, operation start time, last updated status time, and status message. See Table 16 for a description of the information. The records are initially sorted by last updated time in descending order, with the most recent events at the top of the list. Click on a column heading to sort the table information in ascending or descending sort order. Select the check boxes in the corresponding rows to select a filtered record. Select the check box in the column header row to select all filtered records in the dialog box.

  4. Do one of the following:
    • Select the records you want to delete and click Delete Selected to purge the selected records.

      If you click Delete Selected, the Confirm Purge Status Records dialog box appears listing the records you selected for deletion. Enter the reason for deleting status records in the Comment field. 

      Image confirm_purge_status_records.gif
    • Click Delete All Filtered Records to delete all filtered records.

      If you click Delete All Filtered Records, the Confirm Purge All Status Records dialog box appears with the filter criteria and the number of records that will be deleted permanently. Enter the reason for deleting the status records in the Comment field.

      Image confirm_purge_all_status_records.gif
  5. Click OK in the Confirm Purge All Status Records dialog box to confirm purge of status records. The Status Records are removed from the Status table in the Junos Scope database. Click Cancel to go back to the View Filtered Status Records dialog box.