3.2 Setting Retention Policies

Note!

This section only applies if you are using System Insight with InfluxDB for data storage.

The retention policy that you set in System Insight determines how long the filter data is kept, and it can be set at various levels, at profile and InfluxDB instance level.

If you do not set a specific retention policy, the default retention polices that exist at InfluxDB instance level are the policies that apply.

If you have installed System Insight with InfluxDB and Grafana, using the scripts provided, as described in 2.1 Installing System Insight using Scripts, the default retention policy is one week. Retention policies of six months or one year are also available for selection.

At InfluxDB Instance Level

If you want to set a specific retention policy at InfluxDB instance level, you add a retention policy via InfluxDB.

If a retention policy is left empty at profile level, but the default is set at InfluxDB instance level, the data retention adheres to the default policy set on each InfluxDB instance.

At Profile Level

If you set a retention policy for a profile, as described in 2.2.34 systeminsight, the data retention adheres to that policy, overriding the default InfluxDB instance retention policy.

Note!

If you set a retention policy at profile level, which does not exist in the InfluxDB instances in place, an error message is thrown.

For further information on configuring System Insight with multiple InfluxDB instances, see 3.3 Configuring System Insight with Multiple InfluxDB Instances.