grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.93k stars 3.45k forks source link

Add metadata structure to fluent-bit go loki plugin #14851

Open jcdauchy-moodys opened 1 week ago

jcdauchy-moodys commented 1 week ago

I am still using the "go version" of fluent-bit plugin as it is the only one (at least 8 months ago) that was handling string with double quote log correctly.

Do you plan to add the handling of "metadata structure" which is about the same as "labels" in the plugin ?

Thanks in advance.

PS: I have seen that the official loki plugin in C now handle the "metadata structure".

JStickler commented 3 days ago

There are two FluentBit plugins for Loki. The one that is maintained by FluentBit already has support for structured metadata.

https://grafana.com/docs/loki/latest/send-data/fluentbit/