Get Log Events from Stream
POST {{baseUrl}}
This request gets the complete log information for a specific log stream. When put in the runner, this request is run multiple times, one for each log stream stored in the environment from the previous request.
Request Body
{"logGroupName"=>"{{logGroupName}}", "logStreamName"=>"{{logStreamName}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
X-Amz-Target | string | ||
Accept | string | ||
x-mock-response-name | string |
RESPONSES
status: OK
"{\n \"events\": [\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Extended Request Id: aAa_aAAAaAAA0aA=\",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Method request path: {}\",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Method request query string: {infoType=2}\",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Method request headers: {sec-fetch-mode=navigate, sec-fetch-site=none, Accept=text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9, CloudFront-Viewer-Country=US, CloudFront-Forwarded-Proto=https, CloudFront-Is-Tablet-Viewer=false, CloudFront-Is-Mobile-Viewer=false, User-Agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/000.00 (KHTML, like Gecko) Chrome/00.0.0000.000 Safari/000.00, X-Forwarded-Proto=https, CloudFront-Is-SmartTV-Viewer=false, Host=aaaa0aaaaa.execute-api.us-east-1.amazonaws.com, Accept-Encoding=gzip, deflate, br, sec-fetch-user=?1, X-Forwarded-Port=000, X-Amzn-Trace-Id=Root=0-0000a000-00aa00aa00a0a00a0000a0aa, Via=2.0 aa0aa0a000aa0000a000a000a000000.cloudfront.net (CloudFront), sec-ch-ua=\\\"Google Chrome\\\";v=\\\"00\\\", \\\"Chromium\\\";v=\\\"00\\\", \\\";Not A Brand\\\";v=\\\"99\\\", sec-ch-ua-mobile=?0, upgrade-insecure-requests=1, X-Amz-Cf-Id=aa0A_AAA000AaA_aAA0AaaaA0AAaaA_AaaaaaAAaaAAaA-aAAaAA0A==, X-Forwarded-For=00.000.000. [TRUNCATED]\",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Method request body before transformations: \",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Endpoint request URI: https://lambda.us-east-1.amazonaws.com/2015-03-31/functions/arn:aws:lambda:us-east-1:000000000000:function:lambdaFunction/invocations\",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Endpoint request headers: {x-amzn-lambda-integration-tag=aa0000aa-aa00-0000-aaa0-00a00a000a0a, Authorization=************************************************************************************************************************************************************************************************************************************************************************************************************************a0000a, X-Amz-Date=20210000T000000Z, x-amzn-apigateway-api-id=aaaa0aaaaa, X-Amz-Source-Arn=arn:aws:execute-api:us-east-1:000000000000:aaaa0aaaaa/apiName/GET/codebaseInfo, Accept=application/json, User-Agent=AmazonAPIGateway_aaaa0aaaaa, X-Amz-Security-Token=AAaAa0AaA00aA0AaAA0aAAAaAAAaa0AaAAAAAAAAAAAaaaaAAA+a0aaAAaaaaA0Aaa00aAaaAa00a0a0O/0AaaAaAaaaaaAaaAaAAAa+aa00Aa0A0AaAAAA0aaAAAaA000aaaAAA0///////////AAAAAaaaAAAaAaA0AaA0AAAaAAa00a+aaA00a0aaaaaAAaaAAaAa/AAAaaaaAAa0Aa-aa0A7aa0aAAaaaA0AAAaA/00aAAaaaaAa0/A0AAAAaaA0aAaa0AaAaAAAaa0aAaa0AAAaaAaA0AAAaA0aaaAaAAAaaa/AA0aa0A0+aAaA0aAAA0aaaaAAAa000aaa0a/aAa [TRUNCATED]\",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Endpoint request body after transformations: {\\\"resource\\\":\\\"/codebaseInfo\\\",\\\"path\\\":\\\"/codebaseInfo\\\",\\\"httpMethod\\\":\\\"GET\\\",\\\"headers\\\":{\\\"Accept\\\":\\\"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=a0;q=0.9\\\",\\\"Accept-Encoding\\\":\\\"gzip, deflate, br\\\",\\\"Accept-Language\\\":\\\"en-US,en;q=0.9\\\",\\\"CloudFront-Forwarded-Proto\\\":\\\"https\\\",\\\"CloudFront-Is-Desktop-Viewer\\\":\\\"true\\\",\\\"CloudFront-Is-Mobile-Viewer\\\":\\\"false\\\",\\\"CloudFront-Is-SmartTV-Viewer\\\":\\\"false\\\",\\\"CloudFront-Is-Tablet-Viewer\\\":\\\"false\\\",\\\"CloudFront-Viewer-Country\\\":\\\"US\\\",\\\"Host\\\":\\\"aaaa0aaaaa.execute-api.us-east-1.amazonaws.com\\\",\\\"sec-ch-ua\\\":\\\"\\\\\\\"Google Chrome\\\\\\\";v=\\\\\\\"00\\\\\\\", \\\\\\\"Chromium\\\\\\\";v=\\\\\\\"00\\\\\\\", \\\\\\\";Not A Brand\\\\\\\";v=\\\\\\\"99\\\\\\\"\\\",\\\"sec-ch-ua-mobile\\\":\\\"?0\\\",\\\"sec-fetch-dest\\\":\\\"document\\\",\\\"sec-fetch-mode\\\":\\\"navigate\\\",\\\"sec-fetch-site\\\":\\\"none\\\",\\\"sec-fetch-user\\\":\\\"?1\\\",\\\"upgrade-insecure-requests\\\":\\\"1\\\",\\\"User-Agent\\\":\\\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/000.00 (KHTML, like Gecko) Chrome/00.0.0000.000 Safari/000.00\\\",\\\"Via\\\":\\\"2.0 bc [TRUNCATED]\",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Endpoint response headers: {Date=Sat, 00 Jan 2021 00:00:00 GMT, Content-Type=application/json, Content-Length=000, Connection=keep-alive, x-amzn-RequestId=0aaaaa0a-a000-0a0a-aa00-aa0a00aa000a, x-amzn-Remapped-Content-Length=0, X-Amz-Executed-Version=$LATEST, X-Amzn-Trace-Id=root=0-0000a000-00aa00aa00a0a00a0000a0aa;sampled=0}\",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Endpoint response body before transformations: {\\\"statusCode\\\":\\\"200\\\",\\\"body\\\":\\\"{\\\\\\\"topic\\\\\\\":\\\\\\\"The Topic\\\\\\\",\\\\\\\"blurb\\\\\\\":\\\\\\\"Response Body.\\\\\\\"}\\\",\\\"headers\\\":{\\\"Content-Type\\\":\\\"application/json\\\",\\\"Access-Control-Allow-Origin\\\":\\\"*\\\"}}\",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Method response body after transformations: {\\\"topic\\\":\\\"The Topic\\\",\\\"blurb\\\":\\\"Response Body.\\\"}\",\n \"timestamp\": {{$timestamp}}\n },\n {\n \"eventId\": \"00000000000000000000000000000000000000000000000000000000\",\n \"ingestionTime\": {{$timestamp}},\n \"message\": \"(aa0000aa-aa00-0000-aaa0-00a00a000a0a) Method response headers: {Content-Type=application/json, Access-Control-Allow-Origin=*, X-Amzn-Trace-Id=Root=0-0000a000-00aa00aa00a0a00a0000a0aa;Sampled=0}\",\n \"timestamp\": {{$timestamp}}\n }\n ],\n \"nextBackwardToken\": \"b/00000000000000000000000000000000000000000000000000000000\",\n \"nextForwardToken\": \"f/00000000000000000000000000000000000000000000000000000000\"\n}"