Fluent Bit

Fluent Bit log processor and forwarder for unified logging layer.

Requirements

Name

Version

terraform

>= 1.0

kubernetes

>= 2.21.1

Providers

Name

Version

kubernetes

>= 2.21.1

Modules

No modules.

Resources

Name

Type

kubernetes_cluster_role.fluent_bit_role

resource

kubernetes_cluster_role_binding.fluent_bit_role_binding

resource

kubernetes_config_map.fluent_bit_config

resource

kubernetes_config_map.fluent_bit_config_windows

resource

kubernetes_config_map.fluent_bit_envvars_config

resource

kubernetes_config_map.fluent_bit_envvars_config_windows

resource

kubernetes_daemonset.fluent_bit

resource

kubernetes_daemonset.fluent_bit_windows

resource

kubernetes_secret.aws_auth_config

resource

kubernetes_service_account.fluent_bit

resource

Inputs

Name

Description

Type

Default

Required

aws

AWS user for logs, prefer to pass them through env(‘AWS_*’) in your parameters.tfvars

object({
aws_secret_access_key = optional(string, “”)
aws_access_id = optional(string, “”)
aws_session_token = optional(string, “”)
})

{}

no

cloudwatch

CloudWatch info

any

{}

no

fluent_bit

Parameters of Fluent bit

object({
container_name = string
image = string
tag = string
is_daemonset = bool
http_server = string
http_port = string
read_from_head = string
read_from_tail = string
image_pull_secrets = string
parser = string
fluent_bit_state_hostpath = string # path = “/var/log/fluent-bit/state” for GCP Autopilot

path = “/var/fluent-bit/state” for localhost, AWS EKS, GCP GKE
var_lib_docker_containers_hostpath = string # path = “/var/log/lib/docker/containers” for GCP Autopilot

path = “/var/lib/docker/containers” for localhost, AWS EKS, GCP GKE
run_log_journal_hostpath = string # path = “/var/log/run/log/journal” -for GCP Autopilot

fluent_bit_windows

Parameters of Fluent bit for windows

object({
container_name = optional(string)
image = optional(string)
tag = optional(string)
is_daemonset = optional(bool)
http_server = optional(string)
http_port = optional(string)
read_from_head = optional(string)
read_from_tail = optional(string)
image_pull_secrets = optional(string)
parser = optional(string)
fluent_bit_state_hostpath = optional(string)
var_lib_docker_containers_hostpath = optional(string)
run_log_journal_hostpath = optional(string)
})

null

no

namespace

Namespace of ArmoniK monitoring

string

n/a

yes

node_selector

Node selector for fluent-bit on linux

any

{}

no

node_selector_windows

Node selector for fluent-bit on windows

any

{}

no

s3

S3 for logs

any

{}

no

seq

Seq info

any

{}

no

Outputs

Name

Description

configmaps

Configmaps of Fluent-bit

container_name

Container name of Fluent-bit

image

image of Fluent-bit

is_daemonset

Is Fluent-bit a daemonset

tag

tag of Fluent-bit

windows_configmaps

Configmaps of Fluent-bit

windows_container_name

Container name of Fluent-bit

windows_image

image of Fluent-bit

windows_is_daemonset

Is Fluent-bit a daemonset

windows_tag

tag of Fluent-bit