This removes fluentd in favor of using fluentbit, which is lighter (in memory usage) and seems to be more actively maintained. Fluentbit's config file format is different from fluentd's. It also doesn't support the same record modification stuff that fluentd supports, so we have to change the influxdb query slightly. This means that after an upgrade, the new CLI may won't work for querying older logs. Hopefully, this slight breakage is acceptable; if users really need older logs they can use the older CLI.
13 lines
359 B
Plaintext
13 lines
359 B
Plaintext
[PARSER]
|
|
Name docker
|
|
Format json
|
|
Time_Key time
|
|
Time_Format %Y-%m-%dT%H:%M:%S.%L
|
|
Time_Keep On
|
|
|
|
# next bit is useful when the logs from the function itself are in json
|
|
# Command | Decoder | Field | Optional Action
|
|
# =============|==================|=================
|
|
#Decode_Field_As escaped log
|
|
|