fix: logging
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
FROM fluent/fluent-bit:1.9.8
|
||||
COPY ./fluent-bit.conf /fluent-bit/etc/fluent-bit.conf
|
||||
COPY ./fluent-bit-dev.conf /fluent-bit/etc/fluent-bit-dev.conf
|
||||
COPY ./parsers.conf /fluent-bit/etc/parsers.conf
|
||||
30
others/fluentbit/fluent-bit-dev.conf
Normal file
30
others/fluentbit/fluent-bit-dev.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
[SERVICE]
|
||||
Parsers_file /fluent-bit/etc/parsers.conf
|
||||
Flush 1
|
||||
Grace 30
|
||||
[INPUT]
|
||||
Name http
|
||||
Host 0.0.0.0
|
||||
Port 24224
|
||||
[FILTER]
|
||||
Name parser
|
||||
Match *
|
||||
Key_Name log
|
||||
Parser jsonparser
|
||||
Reserve_Data True
|
||||
[OUTPUT]
|
||||
Name file
|
||||
Match *
|
||||
Path /logs
|
||||
Mkdir true
|
||||
Format csv
|
||||
# [OUTPUT]
|
||||
# Name influxdb
|
||||
# match *
|
||||
# Host coolify-influxdb
|
||||
# Port 8086
|
||||
# Database coolify
|
||||
# Bucket coolify
|
||||
# Org coolify
|
||||
# HTTP_Token 12345678
|
||||
# Sequence_Tag _seq
|
||||
@@ -10,7 +10,7 @@
|
||||
Name parser
|
||||
Match *
|
||||
Key_Name log
|
||||
Parser docker
|
||||
Parser jsonparser
|
||||
Reserve_Data True
|
||||
[OUTPUT]
|
||||
Name file
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[PARSER]
|
||||
Name docker
|
||||
Name jsonparser
|
||||
Format json
|
||||
Time_Key time
|
||||
Time_Format %Y-%m-%dT%H:%M:%S.%L
|
||||
|
||||
Reference in New Issue
Block a user