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.

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"
View the property using dsconfig:
$ bin/dsconfig get-backend-prop --backend-name "alerts" \
  --property alert-retention-time
Property : Value(s)
alert-retention-time : 2 w