influxdata / influxdata/telegraf

Graylog output plugin: add connection TTL option

Open
#10,367 12 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Go
Stars
17.8k
Forks
5.8k
Avg merge
1d 20h
Merged PRs (30d)
161

Description

## Feature Request

Add connection TTL option to avoid node overload when using multiple load-balanced GL servers. Request per [comment](https://github.com/influxdata/telegraf/pull/9644#issuecomment-998264644) in PR #9644.

Generic problem description: https://www.ateam-oracle.com/post/long-lived-tcp-connections-and-load-balancers

### Proposal:

Add connection TTL option.

### Current behavior:

Connection are long-lived (keep alive is set by default).

### Desired behavior:

When TTL option is set, connection(s) should be closed and re-established after specified duration elapsed.

### Use case:

Proper load distribution among multiple load-balanced GL servers.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Graylog output plugin and its current long-lived connection or keep-alive setup. Confirm how connection creation and reuse work, then define done as closing and re-establishing connections after the configured TTL while preserving load distribution across multiple Graylog servers.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.