Graylog2 / collector-sidecar

Manage log collectors through Graylog
https://www.graylog.org/
Other
268 stars 56 forks source link

Re-create HTTP connection to Graylog 60 update iterations #483

Closed mpfz0r closed 10 months ago

mpfz0r commented 10 months ago

We are using HTTP keep-alive, which might never pick up any changes to the DNS name of Graylog.

Since there is no parameter in golang's http.Client to do this, simply re-create a new HTTP connection every 60 calls.

Fixes #479