Apa yang dimaksud dengan manifes ekspor Lensa Penyimpanan S3? - Amazon Simple Storage Service

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

Apa yang dimaksud dengan manifes ekspor Lensa Penyimpanan S3?

Ekspor metrik harian Lensa Penyimpanan S3 dalam bucket tujuan umum dapat dibagi menjadi beberapa file karena banyaknya jumlah data yang dikumpulkan. File manifes manifest.json menjelaskan lokasi file ekspor metrik untuk hari tersebut. Setiap kali ekspor baru dikirimkan, itu disertai dengan manifes baru. Tiap manifes yang terkandung dalam file manifest.json menyediakan metadata dan informasi dasar lainnya tentang ekspor.

Informasi manifes mencakup properti berikut:

  • sourceAccountId–ID akun dari pemilik konfigurasi.

  • configId–Pengidentifikasi unik untuk dasbor.

  • destinationBucket–Bucket tujuan Amazon Resource Name (ARN) tempat metrik ekspor ditempatkan.

  • reportVersion–Versi dari ekspor.

  • reportDate–Tanggal dari laporan.

  • reportFormat–Format dari laporan.

  • reportSchema–Skema dari laporan.

  • reportFiles–Daftar aktual dari file laporan ekspor yang berada di bucket tujuan.

Contoh jalur tujuan manifes:

user-defined-prefix/StorageLens/111122223333/example-dashboard-configuration-id/V_1/manifests/dt=2025-03-18/manifest.json

Contoh berikut menunjukkan manifest.json file untuk laporan metrik default Lensa Penyimpanan berformat CSV:

{ "sourceAccountId": "111122223333", "configId": "example-dashboard-configuration-id", "destinationBucket": "arn:aws:s3:::amzn-s3-demo-destination-bucket", "reportVersion": "V_1", "reportDate": "2025-07-15", "reportFormat": "CSV", "reportSchema": "version_number,configuration_id,report_date,aws_account_number,aws_region,storage_class,record_type,record_value,bucket_name,metric_name,metric_value", "reportFiles": [ { "key": "DestinationPrefix/StorageLens/111122223333/example-dashboard-configuration-id/V_1/reports/dt=2025-07-15/12345678-1234-1234-1234-123456789012.csv", "size": 1603959, "md5Checksum": "2177e775870def72b8d84febe1ad3574" } ] }

Contoh berikut menunjukkan manifest.json file untuk laporan metrik awalan yang diperluas Lensa Penyimpanan berformat CSV:

{ "sourceAccountId": "111122223333", "configId": "example-dashboard-configuration-id", "destinationBucket": "arn:aws:s3:::amzn-s3-demo-destination-bucket", "reportVersion": "V_1", "reportDate": "2025-11-03", "reportFormat": "CSV", "reportSchema": "version_number,configuration_id,report_date,aws_account_number,aws_region,storage_class,record_type,record_value,bucket_name,metric_name,metric_value", "reportFiles": [ { "key": "DestinationPrefix/StorageLensExpandedPrefixes/111122223333/example-dashboard-configuration-id/V_1/reports/dt=2025-11-03/EXAMPLE1234-56ab-78cd-90ef-EXAMPLE11111.csv", "size": 1603959, "md5Checksum": "2177e775870def72b8d84febe1ad3574" } ] }

Contoh berikut menunjukkan manifest.json file untuk laporan metrik default Lensa Penyimpanan Parquet yang diformat -format:

{ "sourceAccountId": "111122223333", "configId": "example-dashboard-configuration-id", "destinationBucket": "arn:aws:s3:::amzn-s3-demo-destination-bucket", "reportVersion": "V_1", "reportDate": "2025-11-03", "reportFormat": "Parquet", "reportSchema": "message s3.storage.lens { required string version_number; required string configuration_id; required string report_date; required string aws_account_number; required string aws_region; required string storage_class; required string record_type; required string record_value; required string bucket_name; required string metric_name; required long metric_value; }", "reportFiles": [ { "key": "DestinationPrefix/StorageLens/111122223333/example-dashboard-configuration-id/V_1/reports/dt=2025-11-03/bd23de7c-b46a-4cf4-bcc5-b21aac5be0f5.par", "size": 14714, "md5Checksum": "b5c741ee0251cd99b90b3e8eff50b944" } ] }

Contoh berikut menunjukkan manifest.json file untuk laporan metrik awalan diperluas Lensa Penyimpanan yang Parquet diformat:

{ "sourceAccountId": "111122223333", "configId": "example-dashboard-configuration-id", "destinationBucket": "arn:aws:s3:::amzn-s3-demo-destination-bucket", "reportVersion": "V_1", "reportDate": "2025-11-03", "reportFormat": "Parquet", "reportSchema": "message s3.storage.lens { required string version_number; required string configuration_id; required string report_date; required string aws_account_number; required string aws_region; required string storage_class; required string record_type; required string record_value; required string bucket_name; required string metric_name; required long metric_value; }", "reportFiles": [ { "key": "DestinationPrefix/StorageLensExpandedPrefixes/111122223333/example-dashboard-configuration-id/V_1/reports/dt=2025-11-03/bd23de7c-b46a-4cf4-bcc5-b21aac5be0f5.par", "size": 14714, "md5Checksum": "b5c741ee0251cd99b90b3e8eff50b944" } ] }

Anda dapat mengonfigurasi ekspor metrik agar dihasilkan sebagai bagian dari konfigurasi dasbor di konsol Amazon S3 atau dengan menggunakan Amazon S3 REST API,, dan. AWS CLI SDKs