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.
# Create the stack terraform apply
When running successfully you will see logs flowing into the fluent-bit index at logging.wellcomecollection.orgarrow-up-right.
fluent-bit
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 fluentbit Dockerfilearrow-up-right).
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.
Last updated 1 year ago