configure fluent-bit
This commit is contained in:
12
compose.fluent-bit.yaml
Normal file
12
compose.fluent-bit.yaml
Normal 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
|
||||
@@ -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
|
||||
|
||||
16
fluent-bit/fluent-bit.conf
Normal file
16
fluent-bit/fluent-bit.conf
Normal 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
|
||||
Reference in New Issue
Block a user