Centralized logging with CloudWatch

Has anyone implemented a centralized log aggregation platform via AWS CloudWatch?

Now that CloudWatch Insights is released, I’m curious as to the feasibility of making CloudWatch a cheaper alternative to say Splunk/Loggly/Sumo for simpler use cases.

Has anyone done this with devices outside of AWS, especially network gear that can’t run the AWS log agent? If so what architecture did you choose? I’m thinking of something like HAProxy → Fluentd autoscaling group → CloudWatch Logs. (Since the NLB doesn’t support UDP, I’m thinking of using HAProxy.)


Related discussions:

Silly me, I meant NGINX not HAProxy.

What network gear only supports UDP syslog?

i’m curious too. we currently run a single rsyslogd server which then forwards data to cloudwatch with the sending server ip. feel like there has to be a better way to deal with it

Some of our Cisco Switches, also switching to TCP syslog slams our albeit undersized firewalls, with the overhead.

I’m looking into Fluentd autoscaling group load balanced with NGINX and keepalived. If it works in testing I’ll share the CloudFormation template.

What generation of Cisco Switches doesn’t support TCP?

You got legacy problems, I feel bad for you son. I got 99 switches but Cisco ain’t one.

Tell me about it. They are almost all phased out.

We do this. Primarily because we use fargate heavily and it’s the easiest way to get logs out.

I will say before insights was released it… Sucked.

Now it’s really quite excellent to to be honest. Insights is pretty feature rich in my opinion and log shipping is totally brainless with awslogs docker driver.