AWS for Fluent Bit
Fluent Bit is an open source Log Processor and Forwarder which allows you to collect any data like metrics and logs from different sources, enrich them with filters and send them to multiple destinations.
AWS provides a Fluent Bit image with plugins for CloudWatch Logs, Kinesis Data Firehose, Kinesis Data Stream and Amazon OpenSearch Service.
This add-on is configured to stream the worker node logs to CloudWatch Logs by default. It can be configured to stream the logs to additional destinations like Kinesis Data Firehose, Kinesis Data Streams and Amazon OpenSearch Service by passing the custom values.yaml.
See this Helm Chart for more details.
Requirements
Providers
Modules
| Name |
Source |
Version |
| helm_addon |
github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/helm-addon |
v4.32.1 |
Resources
Inputs
| Name |
Description |
Type |
Default |
Required |
| addon_context |
Input configuration for the addon |
object({ aws_caller_identity_account_id = string aws_caller_identity_arn = string aws_eks_cluster_endpoint = string aws_partition_id = string aws_region_name = string eks_cluster_id = string eks_oidc_issuer_url = string eks_oidc_provider_arn = string tags = map(string) irsa_iam_role_path = string irsa_iam_permissions_boundary = string }) |
n/a |
yes |
| cw_log_retention_days |
FluentBit CloudWatch Log group retention period |
number |
90 |
no |
| helm_config |
Helm provider config aws_for_fluent_bit. |
any |
{} |
no |
| irsa_policies |
Additional IAM policies for a IAM role for service accounts |
list(string) |
[] |
no |
| manage_via_gitops |
Determines if the add-on should be managed via GitOps. |
bool |
false |
no |
| refresh_interval |
FluentBit input refresh interval |
number |
60 |
no |
Outputs