mirror of
https://github.com/ruanbekker/docker-selfhosted-server.git
synced 2025-05-23 11:01:32 +02:00
Create fluent-bit.conf
This commit is contained in:
parent
fe7c7a25bb
commit
f762a6340e
15
logging-loki/loki/configs/fluentbit/fluent-bit.conf
Normal file
15
logging-loki/loki/configs/fluentbit/fluent-bit.conf
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[INPUT]
|
||||||
|
Name forward
|
||||||
|
Listen 0.0.0.0
|
||||||
|
Port 24224
|
||||||
|
[Output]
|
||||||
|
Name grafana-loki
|
||||||
|
Match *
|
||||||
|
Url ${LOKI_URL}
|
||||||
|
RemoveKeys source,container_id
|
||||||
|
Labels {job="fluentbit"}
|
||||||
|
LabelKeys container_name
|
||||||
|
BatchWait 1s
|
||||||
|
BatchSize 1001024
|
||||||
|
LineFormat json
|
||||||
|
LogLevel info
|
Loading…
x
Reference in New Issue
Block a user