configure fluent-bit

This commit is contained in:
2025-10-12 15:48:56 +02:00
parent e13906cee8
commit 3c30e178bd
3 changed files with 30 additions and 0 deletions

12
compose.fluent-bit.yaml Normal file
View File

@@ -0,0 +1,12 @@
services:
fluent-bit:
image: fluent/fluent-bit:4.1.1-amd64
container_name: fluent-bit
restart: unless-stopped
ports:
- "24224:24224"
- "24224:24224/udp"
volumes:
- /opt/fluent-bit/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf
extra_hosts:
- host:192.168.2.200

View File

@@ -8,10 +8,12 @@ include:
# Other
- compose.autoheal.yaml
- compose.collectd.yaml
- compose.telegraf.yaml
- compose.homarr.yaml
- compose.beszel.yaml
- compose.grafana.yaml
- compose.photoprism.yaml
- compose.fluent-bit.yaml
# Development
- compose.gitea.yaml

View File

@@ -0,0 +1,16 @@
[SERVICE]
Flush 1
Daemon Off
Log_Level debug
[INPUT]
Name collectd
Listen 0.0.0.0
Port 24224
[OUTPUT]
Name loki
Match *
Host host
Port 3100
Labels job=collectd