[英]Kinesis Firehose writes to S3 cloud watch subscription filter but the files are not readable
I've noticed that Kinesis firehose writes files to kinesis but the files are in non readable human format (probably compressed or binary).我注意到 Kinesis firehose 将文件写入 kinesis,但这些文件是人类不可读的格式(可能是压缩的或二进制的)。 I didn't choose to zip or to encrypt them.
我没有选择 zip 或加密它们。
How can i convert the content of this files for human readable format?我如何将此文件的内容转换为人类可读的格式?
Cloud watch logs pipe with firehose to S3 are being automatically gzip compressed when export to designated S3 bucket. Cloud watch logs pipe with firehose to S3 在导出到指定的 S3 bucket 时被自动 gzip 压缩。
But Firehose wont add the.gz extension to the file so when you download it from s3 bucket you need to manually add the gz extension to the file.但是 Firehose 不会将 .gz 扩展名添加到文件中,因此当您从 s3 存储桶下载它时,您需要手动将 gz 扩展名添加到文件中。 And then decompress the file delivered to s3 bucket first before opening it.
然后先解压传送到s3 bucket的文件再打开。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.