Describe the bug
fluentbit_filter_drop_records_total metric is increasing when using multiline filter. The records are flowing properly to Splunk, but still filter drop metrics in increasing. This issue is reproducible in Fluent Bit v3.0.6
Check the Prometheus Metrics "fluentbit_filter_drop_records_total". The records are flowing properly to Splunk, but still filter drop metrics in increasing.
curl -s http://127.0.0.1:2020/api/v2/metrics/prometheus|grep drop
Expected behavior
Prometheus Metrics "fluentbit_filter_drop_records_total" should show 0.
Screenshots
Your Environment
Version used: Fluent Bit 3.0.6
Configuration: Deafult configuration
Environment name and version (e.g. Kubernetes? What version?): Kubernetes Client Version: v1.30.1 , Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 , Server Version: v1.30.0
Server type and version: Linux
Operating System and version: Rocky Linux 8.9
Filters and plugins: Splunk
Bug Report
Describe the bug fluentbit_filter_drop_records_total metric is increasing when using multiline filter. The records are flowing properly to Splunk, but still filter drop metrics in increasing. This issue is reproducible in Fluent Bit v3.0.6
To Reproduce Steps to reproduce the problem:
Expected behavior Prometheus Metrics "fluentbit_filter_drop_records_total" should show 0.
Screenshots![image](https://github.com/fluent/fluent-bit/assets/144995052/6dfa8f2b-0b02-468f-b0ce-e0c48e6fbaa0)
Your Environment Version used: Fluent Bit 3.0.6 Configuration: Deafult configuration Environment name and version (e.g. Kubernetes? What version?): Kubernetes Client Version: v1.30.1 , Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 , Server Version: v1.30.0 Server type and version: Linux Operating System and version: Rocky Linux 8.9 Filters and plugins: Splunk
Additional context