Modify the alert retention time
Use dsconfig
to change the maximum time information about generated alerts retained in the alerts backend. After this time, the information is purged from the server.
The minimum retention time is 0 milliseconds, which immediately purges the alert information. |
Example
This example shows a command to modify the alert retention time to 2 weeks.
$ bin/dsconfig set-backend-prop --backend-name "alerts" \
--set "alert-retention-time: 2 weeks"
shell
View the property using dsconfig:
$ bin/dsconfig get-backend-prop --backend-name "alerts" \
--property alert-retention-time
shell
Result:
Property : Value(s) ---------------------:--------- alert-retention-time : 2 w