Skip to content

Tags: fluent/fluent-bit

Tags

v3.0.6

Toggle v3.0.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
core: fix crash when running dry test mode (#8872)

The tls variable for out_flush_params is not initialized as the
flb_start function is not called during the dry run. Call flb_init
directly and then shutdown the engine.

configuration test is successful
=================================================================
==63633==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x0001f71b3ac0 in thread T0
    #0 0x103c9f260 in wrap_free+0x98 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x53260)
    #1 0x100179d9c in flb_free flb_mem.h:127
    #2 0x10017f4a0 in flb_output_exit flb_output.c:481
    #3 0x1001cb038 in flb_engine_shutdown flb_engine.c:1119
    #4 0x10010d45c in flb_destroy flb_lib.c:240
    #5 0x100008c40 in flb_main fluent-bit.c:1348
    #6 0x10000c644 in main fluent-bit.c:1456
    #7 0x18f11e0dc  (<unknown module>)

frame #6: 0x000000010017f4a4 fluent-bit`flb_output_exit(config=0x0000000102b00200) at flb_output.c:481:9
   478
   479 	    params = FLB_TLS_GET(out_flush_params);
   480 	    if (params) {
-> 481 	        flb_free(params);
   482 	    }
   483 	}

Signed-off-by: Holger Hans Peter Freyther <holger@freyther.de>

v3.0.5

Toggle v3.0.5's commit message
tests: runtime: processor_metrics_selector: check if works as an outp…

…ut processor

Signed-off-by: Thiago Padilha <thiago@chronosphere.io>

v2.2.3

Toggle v2.2.3's commit message
http_server: api: v1: backport fix for CVE-2024-4323

* api/v1/traces: validate inputs when enabling traces.

validate the array of inputs when enabling multiple traces that
they are strings.

this patch also refactors out the allocation of said input name.

* api/v1/traces: disable traces api when tracing is disabled.

* api/v1/trace: use macros for strings and lengths in responses.

avoid strlen when creating http response, especially in loops,
by predefining them via macros.

* api/v1/trace: use sizeof for string length macros.

* api/v1/trace: use signed lenghts for strings.

this avoid potential integer overflows when using them as
specifiers for format strings.

* api/v1/traces: use macro for inputs string.

* api/v1/traces: use sizeof when comparing against base path.

* api/v1/traces: replace strlen with flb_sds_len when using flb_sds_t.

---------

Signed-off-by: Phillip Adair Stewart Whelan <phillip.whelan@chronosphere.io>
Signed-off-by: Phillip Whelan <phil@calyptia.com>
Co-authored-by: Phillip Whelan <phil@calyptia.com>

v3.0.4

Toggle v3.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
in_premetheus_remote_write: Implement handler of payloads of promethe…

…us remote write protocol (#8725)

 in_prometheus_remote_write: Implement prometheus remote write input plugin. This plugin is able to handle the following types currently:

- Counter
- Gauge
- Untyped
- Histogram

Summary type of metrics shouldn't be handled and decoded correctly for now.

---------

Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>

v3.0.3

Toggle v3.0.3's commit message
out_http: Use x-ndjson content type for json_lines

Signed-off-by: Manuel Rüger <manuel@rueg.eu>

v3.0.2

Toggle v3.0.2's commit message
tests: filter_multiline: Add test for in_emitter pause by using multi…

…line

This commit will add a test for pause functionality of in_emitter. The test
uses a small emitter buffer size, so the in_emitter will definitely be paused.

Signed-off-by: Richard Treu <richard.treu@sap.com>

v3.0.1

Toggle v3.0.1's commit message
lib: cmetrics: upgrade to v0.7.1

Signed-off-by: Eduardo Silva <eduardo@calyptia.com>

v3.0.0

Toggle v3.0.0's commit message
lib: nghttp2: Disable auto-detection for OpenSSL

Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>

v2.2.2

Toggle v2.2.2's commit message
upstream: added ipv6 dns result priorization option

Signed-off-by: nvima <p.mirwald@outlook.de>

v2.2.1

Toggle v2.2.1's commit message
in_elasticsearch: fix typo

Signed-off-by: Türkalp Burak Kayrancıoğlu <bkayranci@gmail.com>