graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

OpenTelemetry (gRPC) Input is listening on UDP instead of TCP

Open nomorsug opened this issue 8 months ago • 1 comments

Expected Behavior

gRPC works over TCP

Current Behavior

From the UI:

This Input is listening for: UDP Traffic.

OTLP collection is unable to connect to send data

Possible Solution

Steps to Reproduce (for bugs)

Enable OpenTelemetry (gRPC) Input

Context

Your Environment

  • Graylog Version: 6.2.2+13ba949
  • Java Version: 17.0.15
  • OpenSearch Version:
  • MongoDB Version:
  • Operating System:
  • Browser version:

nomorsug avatar May 26 '25 02:05 nomorsug

The input is actually listening on TCP, but the input diagnosis page shows UDP. We need to figure out why that is.

Image

bernd avatar Jun 02 '25 13:06 bernd

Add this here from the closed duplicate issue:

The diagnosis page logic is checking for the existence of the tcp_keepalive input attribute to determine the protocol. tcp_keepalive is not configurable for the OpenTelemetry Input so UDP is always shown.

https://github.com/Graylog2/graylog2-server/blob/4ec26333a3029ecb9e9817a6f512203acfdb0321/graylog2-web-interface/src/pages/InputDiagnosisPage.tsx#L286

ryan-carroll-graylog avatar Jul 01 '25 20:07 ryan-carroll-graylog

Thank you!

kimoswalt avatar Jul 01 '25 20:07 kimoswalt