DEV Community

Benson Macharia for AWS Community Builders

Posted on • Originally published at bmacharia.com

AWS CloudWatch Logging for Golang Microservices on EKS with Logrus and Fluent bit

With the API-first approach of building software products becoming prominent and APIs now making up the most common communication channel for internet traffic, API security becomes paramount.
API logging and monitoring is a key component in securing APIs, amongst others that include discovery, vulnerability management and compliance. APIs should have an inbuilt mechanism to collect access and transaction activities which can aid in their monitoring to identify potentially malicious activity.

API Logging on AWS EKS
Golang being one of the most popular frameworks for developing APIs due to its performance and support for concurrency, I have created a guide to aid developers collect API logs through the Go LogRus library and forward such to AWS CloudWatch from a microservice deployed in AWS EKS.

Check it here

Top comments (0)