Skip to content
This repository has been archived by the owner on Dec 21, 2018. It is now read-only.

Only opens first few ALB logs when using Node 4.6 #4

Open
jacobischwartz opened this issue Apr 25, 2017 · 0 comments
Open

Only opens first few ALB logs when using Node 4.6 #4

jacobischwartz opened this issue Apr 25, 2017 · 0 comments

Comments

@jacobischwartz
Copy link

Node 4.6's zlib seems to have a bug where only the first stream is returned in multi-stream gzip files. Here's some discussion:
nodejs/node#5120

I don't know if AWS recently started concatenating ALB gzip log files, but I found that in a log file of several hundred requests, only the first couple requests were making it into Cloudwatch Logs.

If I download, uncompress, recompress, then re-upload to S3, all requests are parsed.

Also, just switching to Node 6.10 in Lambda solves the problem.

@jacobischwartz jacobischwartz changed the title Only opens first new ALB logs when using Node 4.6 Only opens first few ALB logs when using Node 4.6 Apr 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant