Direkt zum Inhalt

Ingesting AWS CloudWatch Logs via AWS Kinesis Firehose

0

Hello, an application is going through testing and is super verbose in its logging at the moment. Is there a solution to stream logs from EC2 to Kinesis Firehose using CloudWatch agent or any other way?

1 Antwort
2
Akzeptierte Antwort

Hello.

If you want to send logs directly from EC2 to Kinesis Data Firehose, I think you need to use Kinesis Agent instead of CloudWatch Agent.
https://repost.aws/knowledge-center/kinesis-data-firehose-agent-ec2-metadata

By the way, is there any reason why you would want to send logs to Kinesis Data Firehose instead of CloudWatch Logs?

EXPERTE
beantwortet vor 2 Jahren
EXPERTE
überprüft vor 2 Jahren
  • I was thinking about sending logs from EC2 or ECS (down the line), using an agent to Kinesis Firehose with S3 as destination. So not using CloudWatch logs at all because the application is nearing the putlogevents quota.

  • In that case, I think you should use Kinesis Agent to send the logs.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.