lambda-stash
Version:
AWS Lambda script for shipping data from S3 or other cloud data sources to data stores, like Elasticsearch
51 lines (50 loc) • 2.01 kB
JSON
[
{
"type": "https",
"timestamp": "2016-08-10T23:39:43.065466Z",
"elb": "app/my-loadbalancer/50dc6c495c0c9188",
"client": "192.168.131.39:2817",
"target": "10.0.0.1:80",
"request_processing_time": "0.086",
"target_processing_time": "0.048",
"response_processing_time": "0.037",
"elb_status_code": "200",
"target_status_code": "200",
"received_bytes": "0",
"sent_bytes": "57",
"request": "GET https://www.example.com:443/ HTTP/1.1",
"user_agent": "curl/7.46.0",
"ssl_cipher": "ECDHE-RSA-AES128-GCM-SHA256",
"ssl_protocol": "TLSv1.2",
"target_group_arn": "arn:aws:elasticloadbalancing:us-east-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
"trace_id": "Root=1-58337281-1d84f3d73c47ec4e58577259",
"domain_name": "www.example.com",
"chosen_cert_arn": "arn:aws:acm:us-east-2:123456789012:certificate/12345678-1234-1234-1234-123456789012",
"matched_rule_priority": "0",
"date": "2016-08-10T23:39:43.065466Z"
},
{
"type": "https",
"timestamp": "2016-08-10T23:39:44.065466Z",
"elb": "app/my-loadbalancer/50dc6c495c0c9188",
"client": "192.168.131.39:2817",
"target": "10.0.0.1:80",
"request_processing_time": "0.086",
"target_processing_time": "0.048",
"response_processing_time": "0.037",
"elb_status_code": "200",
"target_status_code": "200",
"received_bytes": "0",
"sent_bytes": "57",
"request": "GET https://www.example.com:443/ HTTP/1.1",
"user_agent": "curl/7.46.0",
"ssl_cipher": "ECDHE-RSA-AES128-GCM-SHA256",
"ssl_protocol": "TLSv1.2",
"target_group_arn": "arn:aws:elasticloadbalancing:us-east-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
"trace_id": "Root=1-58337281-1d84f3d73c47ec4e58577259",
"domain_name": "www.example.com",
"chosen_cert_arn": "arn:aws:acm:us-east-2:123456789012:certificate/12345678-1234-1234-1234-123456789012",
"matched_rule_priority": "0",
"date": "2016-08-10T23:39:44.065466Z"
}
]