Tags: fluent/fluent-bit
Tags
in_splunk: use record accessor for tag key extraction and add listeni… …ng info Replace manual key lookup with record accessor pattern for better performance and support for nested/complex key patterns. Add log messages showing listening interface and port for both HTTP versions. Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
network: fix strerror_r detection for musl /home/thomas/br-test-pkg/bootlin-armv7-musl/build/fluent-bit-4.0.8/src/flb_network.c: In function ‘net_connect_async’: /home/thomas/br-test-pkg/bootlin-armv7-musl/build/fluent-bit-4.0.8/src/flb_network.c:653:17: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 653 | str = strerror_r(error, so_error_buf, sizeof(so_error_buf)); | ^ This fix should work perfectly for: glibc systems: Uses str = strerror_r(...) (GNU version) musl systems: Uses ret = strerror_r(...); if (ret == 0) str = so_error_buf; (POSIX version) Other libc implementations: Defaults to POSIX behavior Fix is similar to janet-lang/janet@a5d6b22. Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
PreviousNext