Skip to content

Fluentd Aggregator OCI image based on the default Fluentd OCI image.

License

Notifications You must be signed in to change notification settings

stevehipwell/fluentd-aggregator

Repository files navigation

Fluentd Aggregator

GitHub release (latest SemVer) Build
linux amd64 arm64 License

A Fluentd OCI image to be used for log aggregation and based on the official Fluentd Docker image rebuilt as a multi-arch linux/amd64 & linux/arm64 image.

Aggregation Changes

To optimize Fluentd for log aggregation the default fluent.conf file has been overwritten to allow logs to be forwarded and printed to stdout, an additional directory /fluentd/state has been created, and plugins have also been added to support the aggregation role.

Versioning

As of v2.0.0 this image will follow semantic versioning so the base Fluentd version will not be directly tracked.

Plugins

The following plugins have been added to the base image, to see the specific version please look in the Gemfile.

Usage

This image is available from GHCR and is used in the fluentd-aggregator Helm chart. You can pull this image with the following command.

docker pull ghcr.io/stevehipwell/fluentd-aggregator:latest

This image can be tested locally by running the following command and then forwarding logs to it.

docker run -p 24224:24224 ghcr.io/stevehipwell/fluentd-aggregator:latest

Validation

To validate the image signature run the following commands.

cosign verify ghcr.io/stevehipwell/fluentd-aggregator:latest --certificate-oidc-issuer "https://token.actions.githubusercontent.com" --certificate-identity-regexp "https://github.com/action-stars/build-workflows/.github/workflows/build-oci-image.yaml.+" | jq .

To validate the the image build provenance run the following command.

gh attestation verify --repo stevehipwell/fluentd-aggregator --signer-workflow action-stars/build-workflows/.github/workflows/build-oci-image.yaml oci://ghcr.io/stevehipwell/fluentd-aggregator:latest

You can validate image SBOM by running the following commands.

digest="$(crane digest --platform="linux/amd64" ghcr.io/stevehipwell/fluentd-aggregator:latest)"
gh attestation verify --repo stevehipwell/fluentd-aggregator --signer-workflow action-stars/build-workflows/.github/workflows/build-oci-image.yaml --predicate-type https://spdx.dev/Document/v2.3 "oci://ghcr.io/stevehipwell/fluentd-aggregator@${digest}"

License

Apache License, Version 2.0.