What data retention means
Data retention is the length of time that data stays in a store before it is removed. The period is a decision about purpose, not a storage setting: data is kept for as long as someone can justify needing it, and then it leaves the system.
Retention cuts both ways. Keep too little and an investigation finds no records of the event it was opened for. Keep too much and every old record becomes part of the damage when a data breach happens. The risk is highest for sensitive data, which deserves a shorter period than ordinary files.
Three ways to measure a period
Anexet does not run one timer for every record. A period is measured by time, size or count, and a rotation group can combine them.
| Measure | What it counts | Why it matters |
|---|---|---|
| Time | An interval, for example every first day of the month | Gives a predictable schedule, but says nothing about how much data is stored |
| Size | The database, its search index, the files on disk or the total amount of data | Stops one store from growing without limit |
| Count | The number of records in the database | Keeps each database small enough for fast search |
How rotation clears data
Rotation works on whole databases. The group keeps one active database, and a rotation condition moves writing to the next database in the queue.
- 1
Fill the active database
The active database takes new records until one of the rotation conditions is met.
- 2
Clear the next database
The next database in the queue is cleared completely, both its tables and its index, before anything is written to it.
- 3
Move the writing
New records go to the cleared database, while the previous one stays available for search.
- 4
Start the cycle again
When the queue reaches its end, it returns to the first database, so the oldest data is always the first to go.
Why the cycle sets the real period
A record is removed when the database that holds it is cleared, not on its own date. The real lifetime therefore depends on the number of databases in the group and on the trigger that switches them.
Clearing removes everything in a database at once, so the size of the group is also a retention decision, not only a capacity one. A purge of this kind works on the whole database, not on single records.
What it looks like in Anexet
In the Central Server settings, the Rotation tab of a rotation group holds the conditions that switch its databases. The checked conditions decide when a group switches databases, and the time window limits when the switch may run. Central Server is the component that stores captured data for Anexet DLP and the other modules.
Sizing for larger deployments
The system requirements set limits for larger deployments. For 500 or more users, rotation must be set by database size or by period, with the limits below. The two rules are alternatives, so meeting one of them is enough.
| Rotation rule | Upper limit | Status |
|---|---|---|
| Database size | 2 TB per database | Option one |
| Time period | One month | Option two |
Common mistakes
Most retention gaps come from a rotation that does less than its owner expects:
A rotation that never switches keeps every record, whatever the written policy says.
- Setting only a size trigger, so a quiet database never fills up and its records are kept without an end date
- Reading the interval as the deletion date, although a record leaves only when its whole database is cleared
- Deleting a database from the group and assuming its files are gone, while the database stays on disk after deletion
- Adding a script without checking how a failed script is handled, since with rotate_on_fail set to false a failure stops the rotation
- Keeping backup copies with no period of their own, so data cleared from the group survives elsewhere
Where to start
Start by opening the Rotation tab of each rotation group and writing down which conditions are checked and how many databases sit in the queue. Compare that with the period in your policy: a group with only a size condition has no time limit at all. A group that has never switched keeps everything, whatever its settings say.
A database that never switches is not kept on purpose. It is simply kept.
How Anexet handles this
Anexet runs on-premise, so the saving rules and rotation groups live in the organization's own infrastructure and are set in the console.
Retention begins with the saving rule. Data that matches no rule is not stored, and the rotation groups then decide how long the stored data stays.
Saving rules
Each rule selects the captured data to write, and the first matching rule applies.
Rotation conditions
Size, search index, files on disk, total data, interval and record count can each switch a group, and a time window limits when the switch runs.
Rotation scripts
Scripts can run before a switch, after it or on an error, for example to copy a database before it is cleared.
Event log cleanup
Event records are removed after their retention period, for the event levels selected in the cleanup settings.
Anexet DLP
Learn more