newrelic / newrelic-fluent-bit-output

A Fluent Bit output plugin that sends logs to New Relic
Apache License 2.0
26 stars 42 forks source link

newrelic-logging is repeatedly writing [INFO] Request accepted. to stdout #87

Closed jmuecke closed 2 years ago

jmuecke commented 3 years ago

I am a user of the nri-bundle chart, which installs the newrelic-logging chart.

Starting with newrelic-logging-1.5.0 and nri-bundle-2.14.0 the fluentbit container is outputting [INFO] Request accepted around two times per second. I have also tested the most recent version of nri-bundle: 2.20.0 and it still shows the same behavior. This causes newrelic-logging to log a lot of data, which is also send to newrelic and thus costing customers money. For our setup this produced around 24GB in less than 24h.

I think, I have tracked this down to the following line: https://github.com/newrelic/newrelic-fluent-bit-output/blob/5511fe545433d8b9f7cac90d6ae8e37d9f0208f9/out_newrelic.go#L73

Suggestion

This should not be logged in INFO but in DEBUG because it only confirms that everything has worked.

jodstrcil commented 3 years ago

Hi @jmuecke, thank you for reaching out. I will create a PR immediately.

noly commented 2 years ago

Issue was addressed in release newrelic-fluent-bit-output-1.8.1