lambda-stash
Version:
AWS Lambda script for shipping data from S3 or other cloud data sources to data stores, like Elasticsearch
143 lines (142 loc) • 5.21 kB
JSON
[
{
"bucket_owner": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"bucket": "awsexamplebucket",
"time": "06/Feb/2019 00:00:38",
"zone": "+0000",
"remote_ip": "192.0.2.3",
"requester": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"request_id": "3E57427F3EXAMPLE",
"operation": "REST.GET.VERSIONING",
"key": "-",
"request_uri": "GET /awsexamplebucket?versioning HTTP/1.1",
"http_status": "200",
"error_code": "-",
"bytes_sent": "113",
"object_size": "-",
"total_time": "7",
"turn_around_time": "-",
"referrer": "-",
"user_agent": "S3Console/0.4",
"version_id": "-",
"host_id": "s9lzHYrFp76ZVxRcpX9+5cjAnEH2ROuNkd2BHfIa6UkFVdtjf5mKR3/eTPFvsiP/XV/VLi31234=",
"signature_version": "SigV2",
"cipher_suite": "ECDHE-RSA-AES128-GCM-SHA256",
"authentication_type": "AuthHeader",
"host_header": "awsexamplebucket.s3.amazonaws.com",
"tls_version": "TLSV1.1",
"date": "2019-02-06T00:00:38.000Z"
},
{
"bucket_owner": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"bucket": "awsexamplebucket",
"time": "06/Feb/2019 00:00:38",
"zone": "+0000",
"remote_ip": "192.0.2.3",
"requester": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"request_id": "891CE47D2EXAMPLE",
"operation": "REST.GET.LOGGING_STATUS",
"key": "-",
"request_uri": "GET /awsexamplebucket?logging HTTP/1.1",
"http_status": "200",
"error_code": "-",
"bytes_sent": "242",
"object_size": "-",
"total_time": "11",
"turn_around_time": "-",
"referrer": "-",
"user_agent": "S3Console/0.4",
"version_id": "-",
"host_id": "9vKBE6vMhrNiWHZmb2L0mXOcqPGzQOI5XLnCtZNPxev+Hf+7tpT6sxDwDty4LHBUOZJG96N1234=",
"signature_version": "SigV2",
"cipher_suite": "ECDHE-RSA-AES128-GCM-SHA256",
"authentication_type": "AuthHeader",
"host_header": "awsexamplebucket.s3.amazonaws.com",
"tls_version": "TLSV1.1",
"date": "2019-02-06T00:00:38.000Z"
},
{
"bucket_owner": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"bucket": "awsexamplebucket",
"time": "06/Feb/2019 00:00:38",
"zone": "+0000",
"remote_ip": "192.0.2.3",
"requester": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"request_id": "A1206F460EXAMPLE",
"operation": "REST.GET.BUCKETPOLICY",
"key": "-",
"request_uri": "GET /awsexamplebucket?policy HTTP/1.1",
"http_status": "404",
"error_code": "NoSuchBucketPolicy",
"bytes_sent": "297",
"object_size": "-",
"total_time": "38",
"turn_around_time": "-",
"referrer": "-",
"user_agent": "S3Console/0.4",
"version_id": "-",
"host_id": "BNaBsXZQQDbssi6xMBdBU2sLt+Yf5kZDmeBUP35sFoKa3sLLeMC78iwEIWxs99CRUrbS4n11234=",
"signature_version": "SigV2",
"cipher_suite": "ECDHE-RSA-AES128-GCM-SHA256",
"authentication_type": "AuthHeader",
"host_header": "awsexamplebucket.s3.amazonaws.com",
"tls_version": "TLSV1.1",
"date": "2019-02-06T00:00:38.000Z"
},
{
"bucket_owner": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"bucket": "awsexamplebucket",
"time": "06/Feb/2019 00:01:00",
"zone": "+0000",
"remote_ip": "192.0.2.3",
"requester": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"request_id": "7B4A0FABBEXAMPLE",
"operation": "REST.GET.VERSIONING",
"key": "-",
"request_uri": "GET /awsexamplebucket?versioning HTTP/1.1",
"http_status": "200",
"error_code": "-",
"bytes_sent": "113",
"object_size": "-",
"total_time": "33",
"turn_around_time": "-",
"referrer": "-",
"user_agent": "S3Console/0.4",
"version_id": "-",
"host_id": "Ke1bUcazaN1jWuUlPJaxF64cQVpUEhoZKEG/hmy/gijN/I1DeWqDfFvnpybfEseEME/u7ME1234=",
"signature_version": "SigV2",
"cipher_suite": "ECDHE-RSA-AES128-GCM-SHA256",
"authentication_type": "AuthHeader",
"host_header": "awsexamplebucket.s3.amazonaws.com",
"tls_version": "TLSV1.1",
"date": "2019-02-06T00:01:00.000Z"
},
{
"bucket_owner": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"bucket": "awsexamplebucket",
"time": "06/Feb/2019 00:01:57",
"zone": "+0000",
"remote_ip": "192.0.2.3",
"requester": "79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be",
"request_id": "DD6CC733AEXAMPLE",
"operation": "REST.PUT.OBJECT",
"key": "s3-dg.pdf",
"request_uri": "PUT /awsexamplebucket/s3-dg.pdf HTTP/1.1",
"http_status": "200",
"error_code": "-",
"bytes_sent": "-",
"object_size": "4406583",
"total_time": "41754",
"turn_around_time": "28",
"referrer": "-",
"user_agent": "S3Console/0.4",
"version_id": "-",
"host_id": "10S62Zv81kBW7BB6SX4XJ48o6kpcl6LPwEoizZQQxJd5qDSCTLX0TgS37kYUBKQW3+bPdrg1234=",
"signature_version": "SigV4",
"cipher_suite": "ECDHE-RSA-AES128-SHA",
"authentication_type": "AuthHeader",
"host_header": "awsexamplebucket.s3.amazonaws.com",
"tls_version": "TLSV1.1",
"date": "2019-02-06T00:01:57.000Z"
}
]