Filtering events to database
This document is written for PhenixID Server version 4.0 and later.
The reader should have some basic knowledge about PhenixID Server.
This document describes how to configure filter out events from being presisted in the database
Overview
It is possible to filter what events to be persisted in the database. Typically this would be used to keep database from growing containing information not of interest.
Note that all events still are written to file and to RAM (this is what's displayed on the Configuration Manager first page).
Locate the module "com.phenixidentity~phenix-store-mpl" in boot.json.
In config portion add an array of eventids not to be persisted using key "discardEventID"
"discardEventID":["EVT_001006"]
Example conf:
{
"name": "com.phenixidentity~phenix-store-mpl",
"config": {
"password": "xyz123",
"encryption.key": "123xyz",
"export_start": "01:00",
"export_interval": "24H",
"export_generations": "3",
"discardEventID":["EVT_001001","EVT_001008"]
}
}
Once configured a reboot is required.
Verification
- Trigger an action to trigger the event.
- Login to Configuration Manager
- Click Reports
- Run a report which includes the discarded eventID
- Verify that no such event is displayed in the report.