I'm trying to read Kinesis Firehose record data in transformation Lambda, but I'm getting some weird string (screenshot). Data coming to Firehose is VPC flow log. Destination for Firehose is S3 bucket and I'm able to change metadata of bucket object and actually read the logs, but I need to get readable data in lambda before it goes to S3. I tried various decodings, but no luck.
Fixed. Data from KinesisFirehoseEvent record is compressed, I needed to decompress it in order to read it.