[Bug 283299] sysutils/fluent-bit

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 13 Dec 2024 06:35:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283299

            Bug ID: 283299
           Summary: sysutils/fluent-bit
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: girgen@FreeBSD.org
          Reporter: site-bugs.freebsd.org@ars.iki.fi
             Flags: maintainer-feedback?(girgen@FreeBSD.org)
          Assignee: girgen@FreeBSD.org

With the 3.1.9 version in the 14 quarterly, my configuration that tries to send
logs to Betterstack crashes with a Bus Error after the first attempted HTTP
post. 

If I redirect the output also to console, I can see the first input row print
out before the crash. If I remove the HTTP output, the program works normally.


The smallest input and output setup I can reproduce the bug with is the
following:

[INPUT]
    tag siansaksa
    name random

[OUTPUT]
    name    http
    match   *
    tls     On
    host    in.logs.betterstack.com
    port    443
    uri     /fluentbit
    header  Authorization Bearer ###### personal token removed ######
    header  Content-Type application/msgpack
    format  msgpack
    retry_limit 5


Changing the format and content-type to json also causes the crash. The
authorization token has been confirmed to be correct using a direct curl post.

-- 
You are receiving this mail because:
You are the assignee for the bug.