Commit 5fc47d58 authored by Xiaowu Zhang's avatar Xiaowu Zhang

dract.module: no need to wait since fluentbit read from beginning

parent e9640ef9
......@@ -17,7 +17,6 @@ timestamp_cmd='date +"%Y/%m/%d %H:%M %Z"'
/sbin/fluent-bit -e /etc/libfluentbit_wendelin.so -c /etc/flb.conf &
flb_pid=$!
sleep 1 # let fluent-bit be ready to listen to the log file
echo "{\"beginning_date\": \"$(eval "$timestamp_cmd")\"}" >> $SCAN_FILE
/sbin/metadata-collect-agent $NEWROOT/usr/bin $SCAN_FILE
/sbin/metadata-collect-agent $NEWROOT/usr/sbin $SCAN_FILE
......
......@@ -12,7 +12,7 @@ FLB_PACKAGE_NAME=fluent-bit
PLG_PACKAGE_NAME=plugin-fluentbit-to-wendelin
MCA_VERSION=0.3.1
FLB_VERSION=1.9.8
PLG_VERSION=0.3.2
PLG_VERSION=0.3.3
CERT_NAME=db.crt
SIGNING_KEY_NAME=db.key
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment