Create a Delete Log Task
The recommended way to delete logs is to set up a Delete Log Task.
You can use Filter elements to select log data to be deleted.
For more details about the product and how to configure features, click Help or press F1.
Steps
- Select Configuration, then browse to Administration.
- Browse to Tasks.
- Right-click Tasks, then select .
- Configure the settings.
- Select the server from which the logs are deleted, then click Add.
- Click OK.
Result
CAUTION:
When
this task starts (either manually or as according to the schedule), all logs matching the selected filter and time range are permanently deleted from the active storage. Make sure that
the data you want to keep is exported or copied to a safe location before the operation is started.
Delete Log Task Properties dialog box
Use this dialog box to delete log data.
Option | Definition |
---|---|
General tab | |
Name | Specifies the element name. |
Comment | An optional comment for your own reference. |
Servers | Select from the available servers. |
Search | Enter a search parameter to locate a server. Clicking X removes the search field. |
Up | Navigates up one level in the navigation hierarchy. Not available at the top level of the navigation hierarchy. |
Tools |
|
Add | Adds the selected server to the Target list. |
Remove | Removes the selected server from Target list. |
Target | Shows the servers that you have selected. |
Option | Definition |
---|---|
Task tab | |
Target Data | Select the type of log data to delete. |
Time Range | Specifies the time range of the log entries. You have several options to limit the time range. For example, select Absolute Time Range in the Time Range list and define the Start and End Time. |
Script to Execute After the Task | This script runs after the task finishes. The script is located at /data/script sub-folder in the SMC installation directory. The |
Option | Definition |
---|---|
Operation tab | |
Filter for Deletion | Select a filter to narrow the scope of the logs to be deleted. Click Select to select an element. |