Export a DBaaS instance’s logs to an E2E Object Storage bucket to keep a copy of them that MyAccount updates every 24 hours. The portal calls Object Storage EOS.
Turn on log export
Section titled “Turn on log export”- While the DBaaS instance is Running, click Export Logs to EOS in its More Actions menu.
- Enter the EOS Bucket name, the Access Key, and the Secret Key, and check each one: logs reach the bucket when all three are correct. The bucket is in the same region as the DBaaS instance; see Create a bucket and Generate an access key. Keep your own copy of the keys: E2E does not store them.
- Click Enable.
MyAccount sends the logs already on the DBaaS instance to the bucket, then new logs every 24 hours. In the More Actions menu, Disable Log Export now takes the place of Export Logs to EOS. Deleting the bucket later deletes the logs already sent to it.
The bucket’s own lifecycle rule sets how long exported logs stay there; see Set a lifecycle rule.
Turn off log export
Section titled “Turn off log export”From the DBaaS instance’s More Actions menu, click Disable Log Export, then click Yes. Future logs stop going to the bucket, and the logs already exported stay there.
With log export on, the DBaaS instance’s logs collect in your bucket. To back up the data as well, take a snapshot; see Back up and restore a DBaaS instance with snapshots.
Was this page helpful?