You can continually push logs from mongod, mongos, and audit logs to an AWS S3 bucket.
The atlas api sub-command is automatically generated from the MongoDB Atlas Admin API and offers full coverage of the Admin API. Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.
Atlas exports logs every 5 minutes.
Options
Name | Type | Required | Description |
|---|---|---|---|
-h, --help | false | help for pushBasedLogExport |
Inherited Options
Name | Type | Required | Description |
|---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings. |
Related Commands
atlas api pushBasedLogExport createLogExport - Configures the project level settings for the push-based log export feature.
atlas api pushBasedLogExport deleteLogExport - Disables the push-based log export feature by resetting the project level settings to its default configuration.
atlas api pushBasedLogExport getLogExport - Fetches the current project level settings for the push-based log export feature.
atlas api pushBasedLogExport updateLogExport - Updates the project level settings for the push-based log export feature.