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

control the endpoint via environment variable #84

Open yulrizka opened 3 years ago

yulrizka commented 3 years ago

I'm using the EU instance, It seems to me that the only way to setup end point is to override the file. This is a bit tricky to have it on k8s. I think i would have to create a new image based on this image to be able to use it.

Would it be possible to configure the end point to ENV variable (just like API_KEY) ?

jodstrcil commented 3 years ago

Hi @yulrizka, thanks for reaching out. That's a very interesting suggestion. Let me mention it to team to see how we can prioritize this.

yulrizka commented 3 years ago

after some experimentation, another alternative for me is to use k8s configMap to inject the configuration file. But still a bit easier to be able to specify the endpoint or makes it automatic