[root@ip-10-203-87-223 ~]# rm -f /opt/fluent-bit/log/fluent-bit.log && rm -rf /opt/fluent-bit/buffer/ && /opt/fluent-bit/bin/fluent-bit --config /etc/fluent-bit/fluent-bit.yaml | grep --line-buffered 'fluentbit_build_info.*' | stdbuf -oL awk -v start_epoch="$(date +%s)" ' function print_sorted_seen() { for (k in seen) { print k > "/tmp/seen_instances.tmp" } close("/tmp/seen_instances.tmp") system("sort /tmp/seen_instances.tmp") print ""; delete seen } { now = systime(); if (now - start_epoch >= 60) { print_sorted_seen() start_epoch = now; } if (match($0, /instance="[^"]+"/, m)) { instance = gensub(/instance="([^"]+)"/, "\\1", "g", m[0]); seen[instance] = 1; } } ' Fluent Bit v4.0.4 * Copyright (C) 2015-2025 The Fluent Bit Authors * Fluent Bit is a CNCF sub-project under the umbrella of Fluentd * https://fluentbit.io ______ _ _ ______ _ _ ___ _____ | ___| | | | | ___ (_) | / || _ | | |_ | |_ _ ___ _ __ | |_ | |_/ /_| |_ __ __/ /| || |/' | | _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / /_| || /| | | | | | |_| | __/ | | | |_ | |_/ / | |_ \ V /\___ |\ |_/ / \_| |_|\__,_|\___|_| |_|\__| \____/|_|\__| \_/ |_(_)___/ [2025/07/13 22:13:22] [ info] Configuration: [2025/07/13 22:13:22] [ info] flush time | 10.000000 seconds [2025/07/13 22:13:22] [ info] grace | 60 seconds [2025/07/13 22:13:22] [ info] daemon | 0 [2025/07/13 22:13:22] [ info] ___________ [2025/07/13 22:13:22] [ info] inputs: [2025/07/13 22:13:22] [ info] forward [2025/07/13 22:13:22] [ info] ___________ [2025/07/13 22:13:22] [ info] filters: [2025/07/13 22:13:22] [ info] ___________ [2025/07/13 22:13:22] [ info] outputs: [2025/07/13 22:13:22] [ info] stdout.0 [2025/07/13 22:13:22] [ info] ___________ [2025/07/13 22:13:22] [ info] collectors: 1837 1838 5844 6014 1837 1838 5844 6014 6021 1837 5844 6013 6014 6021 1837 1838 5844 6021 6841 1837 6014 6841 1837 6014 6841 1837 6014 6021 6841 1837 6017 6841 1837 6014 6841 1837 6014 6017 6841 1837 6013 6014 6841 1837 6014 6021 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021 1837 6013 6014 6021