fluent-bit-go icon indicating copy to clipboard operation
fluent-bit-go copied to clipboard

Fluent Bit Golang package to build plugins

Results 35 fluent-bit-go issues
Sort by recently updated
recently updated
newest added

This PR can work with https://github.com/fluent/fluent-bit/pull/5056. Signed-off-by: Hiroshi Hatake

The basic metrics afforded to each plugin (ie. `dropped_records`, `errors_total`, etc) are quite powerful but are sometimes not enough. For example, when developing a custom GCS plugin, we've found the...

`cgo.Handle` was added to Go in 1.17. It is equivalent to our implementation, but uses `atomic.AddUintptr` which is more efficient than `C.CString("")`.

Make the beheavior of getting record time same with the C code `flb_time_msgpack_to_time` See: https://github.com/fluent/fluent-bit/blob/v1.8.12/src/flb_time.c#L198-L223

I have modified the `out_multiinstance` It returns incorrect id in the `FLBPluginExitCtx` ``` package main import ( "C" "fmt" "log" "time" "unsafe" "github.com/fluent/fluent-bit-go/output" ) //export FLBPluginRegister func FLBPluginRegister(def unsafe.Pointer) int...

Follow https://github.com/fluent/fluent-bit-go/tree/master/examples/out_multiinstance and hit No rule to make target 'all'. ~/fluent-bit-go$ sudo docker build . -t fluent-bit-multiinstance -f examples/out_multiinstance/Dockerfile Sending build context to Docker daemon 164.9kB Step 1/12 : FROM...

Fluent bit added support for workers in v.1.7.0 https://fluentbit.io/announcements/v1.7.0/ It would be really valuble go plugins can also have worker support # Impact Because of the single threaded nature if...

I have fluent-bit deployed in k8s with the go plugin, but we noticed some specific logs are lost. Here is the pod's log: {"level":"debug","ts":1625627314150.1467,"caller":"xservice/callback.go:179","msg":"api call done","app":"test","appBuildHost":"runner-x","appBuildTime":"2021-07-06 10:14:06","appGoVersion":"go1.15","appGitTag":"v0.6.0_2021-07-06_10-14-06","appGitVersion":"30333326","Resp":"task_id:1628888882647513000 data:{x_id:6108888888888787 xList:{rn:\"rn:xt:x/64888888889070\" timestamp:{seconds:1625627313...

**Question 1 - Log level** In fluent bit there is an option to configure the log level using the "Log_Level" configuration Documentation - https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/configuration-file I would like to see some...