check out this project : [lambda-stash](https://github.com/arithmetric/lambda-stash) for handling unzipping .gz files for elasticsearch