File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 Parser docker
2727 Path /var/lib/docker/containers/*/*.log
2828 Path_key filepath
29+ DB /var/lib/fluent-bit/flb_docker.db
30+ Read_from_Head true
2931 Skip_Long_Lines On
3032 Mem_Buf_Limit 10MB
33+ Refresh_Interval 5
3134
3235[OUTPUT]
3336 Name cloudwatch_logs
Original file line number Diff line number Diff line change 2626 Parser docker
2727 Path /var/lib/docker/containers/*/*.log
2828 Path_key filepath
29+ DB /var/lib/fluent-bit/flb_docker.db
30+ Read_from_Head true
2931 Skip_Long_Lines On
3032 Mem_Buf_Limit 10MB
31-
33+ Refresh_Interval 5
34+
3235[OUTPUT]
3336 name stackdriver
3437 match vm-*
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ readonly CLOUD="$1"
4343# Configuration with defaults
4444readonly FLUENT_BIT_IMAGE=" ${FLUENT_BIT_IMAGE:- cr.fluentbit.io/ fluent/ fluent-bit: 2.0-debug} "
4545
46+ # Db directory to store file offsets
47+ mkdir -p /var/lib/fluent-bit
48+
4649# Build Docker run command arguments
4750DOCKER_ARGS=(
4851 --rm
You can’t perform that action at this time.
0 commit comments