UNPKG

lambda-stash

Version:

AWS Lambda script for shipping data from S3 or other cloud data sources to data stores, like Elasticsearch

45 lines (44 loc) 1.11 kB
[ { "id":"1234567890", "timestamp":1466263061409, "logType": "start", "requestId": "abcdef-1234-5678-9012-abcdef", "lambdaVersion": "$LATEST", "date": "2016-06-18T15:17:41.409Z" }, { "id":"1234567891", "timestamp":1466263061419, "date": "2016-06-18T15:17:41.419Z", "requestId": "abcdef-1234-5678-9012-abcdef", "logType": "message", "message":"Example log message 1\n" }, { "id":"1234567892", "timestamp":1466263061429, "date": "2016-06-18T15:17:41.429Z", "requestId": "abcdef-1234-5678-9012-abcdef", "logType": "message", "message":"Example log message 2\nLine 2\n" }, { "id":"1234567893", "timestamp":1466263061439, "date": "2016-06-18T15:17:41.439Z", "requestId": "abcdef-1234-5678-9012-abcdef", "logType": "end" }, { "id":"1234567894", "timestamp":1466263061449, "date": "2016-06-18T15:17:41.449Z", "requestId": "abcdef-1234-5678-9012-abcdef", "logType": "report", "duration": "432.10", "durationBilled": "500", "memConfigured": "256", "memUsed": "123" } ]