Purging Data
Pre-requisites:
To purge data from the API Gateway Data Store, you must have the Manage purge and restore runtime event functional privilege in API Gateway.
Purging is the process of systematically deleting unwanted data from the database. You can purge data based on the type of data or the age of the data in the API Gateway Data Store.
![*](icon_task_xpe.png)
To purge data
1. Expand the menu options icon
, in the title bar, and select Administration. 2. Select Manage Data.
3. Click Archive & purge.
4. Select the event types for which the data has to be purged.
The available options are:
ALL
Audit logs
Error events
Lifecycle events
Monitor events
Performance metrics
Policy violation events
Threat protection events
Transaction events
Application logs5. Select Purge.
6. Select one of the following options to purge (delete) the required data.
![*](chapterTOC_bullet.png)
Select
Range. Select a period during which you want the data to be purged.
![*](chapterTOC_bullet.png)
To purge selected types of data from a particular date till the current date, select the required date in the
From date field.
![*](chapterTOC_bullet.png)
To purge selected types of data from the beginning (events start date) till a particular date, select the required date in the
To date field.
API Gateway deletes the selected types of data for the given date range. The rest of the data is retained.
![*](chapterTOC_bullet.png)
Select
Duration. Type the maximum time after which you want the data to be purged.
API Gateway deletes the selected types of data after the time specified in years, months, days, hours, minutes, or seconds (1y, 1m, 1d, 1H, 1M, 1S). The rest of the data is retained.
7. Click Submit.
The required data is purged from the API Gateway Data Store.