Skip to content

Example of streaming S3 logs into a otel logging stack

Notifications You must be signed in to change notification settings

NixM0nk3y/oteltail

Repository files navigation

Welcome to oteltail

Example of streaming S3 logs into a otel stack using a lambda based on a modified promtail.

At the time of writing opentelemetry go sdk logging support is still in progress so I've borrowed heavily from a separate PR so provide a functional otel logging SDK.

Architecture

The CDK stands up a sample ALB access logging system with triggers oteltail via eventbridge notifications.

diagram

The oteltail should be capable of ingesting all the datasources originally supported by promtail e.g. SNS, SQL , Kinesis etc. Modifications have also been made to allow the ingest of custom datasources i.e. arbitrary json logs , however parsing of these logs is limited and left as a exercise for the ingesting system.

Useful commands

  • make clean remove any intermediate state
  • make diff compare deployed stack with current state
  • make deploy deploy this stack to your default AWS account/region

About

Example of streaming S3 logs into a otel logging stack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages