S3 Vectors の CloudTrail ログファイルの例 - Amazon Simple Storage Service

S3 Vectors の CloudTrail ログファイルの例

注記

Amazon S3 Vectors は Amazon Simple Storage Service のプレビューリリースであり、変更される可能性があります。

以下は、S3 Vectors データイベントの CloudTrail ログエントリの例です。データイベントは、ベクトルインデックス内のベクトルデータにオペレーションを実行するときに記録されます。

例: GetVectors データイベントの CloudTrail ログファイル

{ "eventVersion": "1.11", "userIdentity": { "type": "IAMUser", "principalId": "123456789012", "arn": "arn:aws:iam::123456789012:user/myUserName", "accountId": "123456789012", "accessKeyId": "AKIAIOSFODNN7EXAMPLE", "userName": "myUserName" }, "eventTime": "2024-11-22T17:12:25Z", "eventSource": "s3vectors.amazonaws.com", "eventName": "GetVectors", "awsRegion": "us-east-1", "sourceIPAddress": "192.0.2.0", "userAgent": "[aws-cli/2.18.5]", "requestParameters": { "vectorBucketName": "amzn-s3-demo-vector-bucket", "returnMetadata": "false", "indexName": "111aa1111-22bb-33cc-44dd-5555eee66ffff", "returnData": "false" }, "responseElements": null, "additionalEventData": { "SignatureVersion": "SigV4", "cipherSuite": "ECDHE-RSA-AES128-GCM-SHA256" }, "requestID": "07D681123BD12AED", "eventID": "f2b287f3-0df1-1234-a2f4-c4bdfed47657", "readOnly": true, "resources": [{ "accountId": "123456789012", "type": "AWS::S3Vectors::VectorBucket", "ARN": "arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket" }, { "accountId": "123456789012", "type": "AWS::S3Vectors::Index", "ARN": "arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket/index/111aa1111-22bb-33cc-44dd-5555eee66ffff" }], "eventType": "AwsApiCall", "managementEvent": false, "recipientAccountId": "444455556666", "eventCategory": "Data", "tlsDetails": { "tlsVersion": "TLSv1.2", "cipherSuite": "ECDHE-RSA-AES128-GCM-SHA256", "clientProvidedHostHeader": "client-host" } }

S3 Vectors のログファイルエントリを理解する

CloudTrail のログファイルは、単一か複数のログエントリを含みます。イベントは任意ソースからの単一リクエストを表し、リクエストされたアクション、アクションの日時、リクエストパラメータなどの情報を含みます。CloudTrail ログファイルは、パブリック API 呼び出しの順序付けられたスタックトレースではないため、特定の順序では表示されません。

S3 Vectors CloudTrail ログエントリには、次の主要な要素が含まれています。

  • eventSource – 常に S3 Vectors イベントの s3vectors.amazonaws.com

  • eventName - 実行された S3 Vectors API オペレーション。

  • eventCategory - コントロールプレーンオペレーションの Management またはデータプレーンオペレーションの Data

  • readOnly: 読み取りオペレーションの true (GetVectorsQueryVectorsListVectors など) および書き込みオペレーションの false (PutVectorsDeleteVectors)。

  • リソース – ベクトルバケットやベクトルインデックスなど、オペレーションに関与する S3 Vectors リソース。

  • requestParameters - リクエストとともに送信されたパラメータ。

  • responseElements - S3 Vectors サービスによって返されるレスポンス要素。