Cloud Logs Export
Note: Cloud Logs Export is currently in public preview. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available.
Grafana Cloud Logs offers 30-day retention by default for paying customers, with the option to pay for longer retention if desired. However, you can also export your logs from Grafana Cloud Logs to your own long-term storage to meet business requirements, for example compliance or data control, or to perform analytics that must be performed outside of Grafana Cloud.
The Cloud Logs Export feature lets you sync logs stored in Grafana Cloud Logs with an object storage bucket that you own. You should make your own evaluation of which cloud storage provider’s features and cost best meet your business needs for accessing your archived logs. Cloud Logs Export supports the following cloud storage providers:
- Amazon S3 - Cloud Logs Export supports only the S3 Standard storage class.
- Azure Blob Storage - Cloud Logs Export only supports Hot Tier storage, optimized for storing data that is accessed or modified frequently.
- Google Cloud Storage - Cloud Logs Export supports all object storage classes (Hot, Cool, and Archive).
Your logs are exported using Loki’s open source chunk format, which means that you can query them using the command line tool, LogCLI, or within your own, self-hosted Loki cluster.
Creating a cloud log export involves the following steps:
- Selecting your cloud provider.
- Creating object storage in the cloud provider.
- Configuring access to the storage.
- Testing the connecting and enabling your object storage.
Administrators can configure Cloud Logs Export using the Cloud Logs Exporter plugin, which can be accessed from the Plugins navigation. The wizard will guide you through enabling cloud logs export.
Before you begin:
- Know which cloud provider you want to export to.
You can create a cloud logs export for: