github.com/mweagle/Sparta@v1.15.0/aws/cloudwatch/doc.go (about) 1 // Package cloudwatch scopes CloudWatch-specific utiltities for 2 // Sparta 3 package cloudwatch 4 5 /* 6 Log message format, data is 7 Base64 encoded and compressed with the gzip format 8 { awslogs: { data: '...' } } 9 10 { 11 "messageType": "DATA_MESSAGE", 12 "owner": "123412341234", 13 "logGroup": "/aws/lambda/versions", 14 "logStream": "2016/02/20/[$LATEST]5efb6fc38f214f89827218367e12b37b", 15 "subscriptionFilters": ["SpartaApplication_MyFilterc1a4c95a445ebf504a2d1a99f25e6ff3d459ea9f"], 16 "logEvents": [{ 17 "id": "32468509038720158048534573168074737027928689874631065600", 18 "timestamp": 1455938299356, 19 "message": "START RequestId: 96f98a63-d780-11e5-ab78-69015eb2dceb Version: $LATEST\n" 20 }, { 21 "id": "32468509038787060284130165037499344182746634959149006849", 22 "timestamp": 1455938299359, 23 "message": "2016-02-20T03:18:19.358Z\t96f98a63-d780-11e5-ab78-69015eb2dceb\tNodeJS v.v0.10.36, AWS SDK v.2.2.32\n" 24 }, { 25 "id": "32468509038787060284130165037499344182746634959149006850", 26 "timestamp": 1455938299359, 27 "message": "END RequestId: 96f98a63-d780-11e5-ab78-69015eb2dceb\n" 28 }, { 29 "id": "32468509038787060284130165037499344182746634959149006851", 30 "timestamp": 1455938299359, 31 "message": "REPORT RequestId: 96f98a63-d780-11e5-ab78-69015eb2dceb\tDuration: 0.52 ms\tBilled Duration: 100 ms \tMemory Size: 128 MB\tMax Memory Used: 13 MB\t\n" 32 }] 33 } 34 */