The administrator can use the storage management feature to view the storage occupied
by audit session data and specify the storage duration. This topic describes how to
use the storage management feature.
Background information
After the storage is used up, Bastionhost deletes the audit session data that is stored
at the earliest time. We recommend that you specify an appropriate storage duration
for audit session data.
View the storage usage
- Log on to the Bastionhost console.
- In the left-side navigation pane, click System Settings.
- On the System Settings page, click the Storage Management tab.
- In the Storage Status section, view the storage usage.
Configure automatic deletion of session data
- Log on to your bastion host. For more information, see Log on to Bastionhost.
- In the left-side navigation pane, click System Settings.
- In the Automatic Deletion section, select Maximum Session Data Storage Duration.

- Specify a value for Maximum Session Data Storage Duration based on your business requirements.
Note Valid values: 1 to 9999. Default value: 180. Unit: days. When the storage is used
up, the data stored for a period that exceeds the specified value is automatically
deleted.
- If the size of the remaining session data exceeds the maximum storage after the data
is deleted, Bastionhost automatically deletes the session data that is stored at the
earliest time.
- If you do not enable automatic deletion, Bastionhost automatically overwrites the
data that is stored at the earliest time when the storage is used up.
- Click Save.
Bastionhost automatically manages the audit session data based on your settings.
Manually delete session data
- Log on to your bastion host. For more information, see Log on to Bastionhost.
- In the left-side navigation pane, click System Settings.
- In the Manual Deletion section, select a point in time from the date and time picker on the right of Deleted On.
- Click Ok.
- Click Delete.
Bastionhost deletes the audit session data that is stored before the specified point
in time.