I want consolidated application logs running on AWS ECS with microservices architecture

0

I want consolidated logging of all Front End, Back End and ALB/Network logs for application which is running on AWS ECS fargate with microservices architecture. Which one will be good out of Datadog or Splunk or ELK or AWS Centralized Logging or Prometheus / Grafana.

1개 답변
0

I would definitely make sure that you collect all metrics on AWS CloudWatch. For non-custom metrics, these are very cheap and integrate everywhere. Whether you visualize these in CW or in Grafana, doesn't matter. I'd recommend to stick as much as possible to a single source of truth when it comes to metrics.

As for logs, with ECS + FireLens you can send your logs to CW Logs pretty much any destination (fluentbit powa!).

But considering that the ALB logs will go to S3, I'd recommend FireHose / DataStream to log things in the same bucket / different buckets, same format. That way you can at least query the data with strong correlations with Athena for example.

With 1 FireHose per source account and a central storage location, you can also log things in multi-accounts without any issues pretty easily. We have done / are in the process of doing just that: monitoring account, aggregating / accessing all others to provide near real-time view of what's happening across all our services, with each applications teams considered to be their own tenants.

profile picture
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인