简体   繁体   English

发送和接收日志到aws kinesis

[英]sending and receiving logs to aws kinesis

How can I send (receive) logs to (from) different kinesis stream shards using python boto3? 如何使用python boto3将日志发送到不同的kinesis流分片(从中接收)? I can send and receive when there is only one shard but can not figure out how will it work if I specify multiple shards for my kinesis stream. 当只有一个分片时,我可以发送和接收,但是如果我为运动流指定了多个分片,我将无法弄清楚它如何工作。

You can use kinesis-agent library to push logs to kinesis streams, and use the KCL python library to read records from the stream. 您可以使用kinesis-agent库将日志推送到kinesis流,并使用KCL python库从流中读取记录。 The KCL handles loads of stuff such as reading parallelly from multiple shards, resharding, etc. KCL处理负载,例如从多个分片并行读取,重新分片等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 aws kcl 中禁用 INFO 日志 - Kinesis - Disable INFO logs in aws kcl - Kinesis AWS Cloudwatch通过Kinesis Firehose登录到ElasticSeacrh - AWS Cloudwatch logs to ElasticSeacrh via Kinesis Firehose 将日志发送到 AWS ElasticSearch - Sending Logs to AWS ElasticSearch 将旧的AWS Lambda日志发送到AWS Kinesis流 - send old aws lambda logs to aws kinesis stream 使用lambda函数将数据发送到kinesis流(在不同的AWS账户中) - Sending data to kinesis stream (in different AWS account) using lambda function InvalidSignatureException 从 SQL 向 AWS Kinesis 发送 POST 请求 - InvalidSignatureException Sending POST request to AWS Kinesis from SQL AWS 权限错误…… Kinesis Firehose 没有向 Elasticsearch 发送数据…… - AWS permissions error … Kinesis Firehose is not sending data to Elasticsearch… AWS Kinesis Firehose 没有向 Elasticsearch 发送数据……IAM 权限? - AWS Kinesis Firehose is not sending data to Elasticsearch…IAM permissions? 发送数据到 AWS Kinesis stream 与 Lambda 跨账户 - Sending data to AWS Kinesis stream cross-accounts with Lambda AWS Elastic Beanstalk - MAIL(发送和接收电子邮件) - AWS Elastic Beanstalk - MAIL (Sending and receiving emails )
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM