Filtering events to database
Note
This document describes how to configure filter out events from being presisted in the database
In order to completely disable persistanse of the events log in the database, see these instructions
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 configuration:
{
"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 restart of the service 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.