Automatically archive AuditEvent resources in GCP storage guide
Last updated
Last updated
Follow step-by-step guide to configure scheduled archive operation:
Create GCPServiceAccount resource.
Define your scheduler rule with create-archive task as :task-request
parameter. Check Scheduler API and create-archive documentation for more information.
This rule means that Scheduler API will archive all AuditEvent resources that are older than 30 days every day at 2 am into GCP Cloud Storage.
Define your scheduler service if it is not already defined in your configuration. Include created rule in scheduler-service :rules
property.
Include task, executor and scheduler services in your Aidbox service configuration if they are not already included in your configuration.
Restart Aidbox.
Check if new scheduler rules created in Scheduler UI:
Full configuration for this guide: