FluentBit
Last updated
Last updated
groundcover automatically collects all logs within your Kubernetes cluster streamed via Standard Output (stdout) using our proprietary eBPF sensor, requiring no setup. However, if your organization stores logs in files, either within Kubernetes or outside, or if you want to pass logs from non-Kubernetes entities, you can use FluentBit to send these logs to groundcover.
While not required, it is suggested to set metadata attributes to be recognized by groundoover.
env_name
clusterId
Will associate the log with a cluster in groundcover.
host.name
Will appear as the logs' hostname
gc_source_type
will appear the source of the type of the logs. . Can be any value of your choosing. For example, logs from Kubernetes clusters are marked as 'k8s'
service.name
Will appear as the name of the workload that created the log.
Setup instructions depend on whether your logs are stored in a Kubernetes or non-Kubernetes cluster.
The following example will use FluentBit's to send logs to your inCloud's endpoint.
For more instructions on finding your inCloud endpoint and apikey, see docs.
Add the following code to your Fluent Bit configuration to start sending logs to groundcover:
Will associate the log with an environment in groundcover.