I’m using fluent-bit-plugin-loki to forward my K8S container logs into Loki, and querying via Grafana. The default config works great. I would like to add my K8S audit log into this config. I have added an INPUT section for it and a JSON parser. Where I am lost is the connection between the log and a Loki stream. To find any apps log, I can just use {app=“whatever”} since the labelmap pulls this info…when it comes to the audit log, do I need to apply a manual label in fluentbit so that I can find it in Grafana? Not sure how to get this working.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Compensation of Fluentbit Loki Output Plugin | 1 | 1059 | January 25, 2023 | |
Fleunt-bit/Loki label_Filters not available in grafana loki datasource | 3 | 749 | November 20, 2024 | |
Configure fluentd with loki | 5 | 416 | June 12, 2025 | |
Logstash client input file with loki | 1 | 672 | November 23, 2023 | |
Fluent-bit to Loki to Grafana dataflow does not show Grafana's logs | 0 | 25 | March 7, 2025 |