Logging example
Last updated
Last updated
This is an example TF stack demonstrating the principles described in this RFC.
You will need to create the stack and populate the ECR repositories.
When running successfully you will see logs flowing into the fluent-bit
index at .
This repo demonstrates using the Fluent Bit Elasticsearch output plugin to log to our an existing ES Cluster.
It is necessary to build a custom version of the AWS Fluent Bit image to install our config (see the ).
We makes use of the modify filter plugin to append environment variable tags to logs exported (to annotate service, image etc).
ES credentials for Fluent Bit are loaded from secrets manager.