Delete - cleanupHistoricalData_2
Delete - cleanupHistoricalData
Description :
This command cleans up historical data from the database. Historical data includes Compliance Job results, Audit Job results, Snapshot Job results, Patching Job results, Deploy Job results, job run events, job schedules, and the audit trail.
Return type : java.lang.Object
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
retentionTime | java.lang.Integer | Retention time in days, if applicable. The minimum retention time is 3 days. |
duration | java.lang.Integer | Maximum duration for the operation in minutes. |
roleName | String | Delete objects limited to a specific role, if applicable. |
Example
The following example shows how to clean up historical data from the database.
Script
blcli Delete cleanupHistoricalData 10 600 SampleRole
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*