Running out of storage space
Actions that you can take if your analytics data is using more persistent storage space than you expected.
Reduce retention period
The simplest remedy to running out of storage space is to reduce the data retention period.
By default, API event records are retained for a maximum number of days. This maximum depends on your deployment profile. To see the default retention settings for each profile, refer to Retention and rollover.
If your analytics subsystem was deployed more recently than your retention period and you are
running out of storage space, then there is a risk that your persistent storage fills up before the
retention period is reached. For example, if you deployed the n1xc4.m32
profile 15
days ago, and you are already low on storage space, then it is likely you all your storage is
consumed before the 30-day retention period for this profile is reached. Check in the Cloud Manager UI how many days back your
API event data goes, and set the retention period to a lower number. For example, if you see API
event records from 15 days ago, reduce your storage requirement by one-third by setting your
retention period to 10 days.
Kubernetes and Openshift users: Reinstall with larger PVCs
- Take a backup of your analytics subsystem: Kubernetes, OpenShift, and Cloud Pak for Integration.
- Reinstall your analytics subsystem with a larger PVC size:
- Restore your analytics data from your backup: Recovering from a disaster.
volumeSize
in
the analytics CR. If this is successful then you do not need to reinstall the analytics
subsystem.If you want to try increasing your PVC size, then consult your Kubernetes or Openshift administrator for the steps.
Reduce space used by new API event data
filter {
if "apicapievent" in [tags] {
mutate {
remove_field => ["response_body"]
}
}
}
What to do if your storage is 100% full
If your storage space is 100% full, your analytics subsystem might be unresponsive, so reducing the retention period is not possible. In this scenario, follow the disaster recovery steps: Recovering from a disaster.