charts icon indicating copy to clipboard operation
charts copied to clipboard

GELF UDP input not working

Open udawpk opened this issue 1 year ago • 3 comments

Describe the bug Hi guys, I spent some time creating, and opening GELF UDP input and port as it wrote in README but it is not working for me. But the same method works for GELF TCP input and port and works well. The Kubernetes services were created, helm chart was installed with success but I can not see any logs sent by Example Payload https://go2docs.graylog.org/5-0/getting_in_log_data/gelf.html. For UDP method. I Repeat then TCP method by Example Payload works well. Please help me with GELF UDP. How I should set up it? Thanks.

Version of Helm and Kubernetes:

Helm Version:

$ helm version
version.BuildInfo{Version:"v3.9.4", GitCommit:"dbc6d8e20fe1d58d50e6ed30f09a04a77e4c68db", GitTreeState:"clean", GoVersion:"go1.17.13"}

Kubernetes Version:

$ kubectl version
Client Version: v1.27.0
Kustomize Version: v5.0.1
Server Version: v1.27.2-eks-c12679a

Which version of the chart: version: 2.3.2

What happened: When I try to create GELF UDP input and open UDP port as it wrote in README it is not working, but it is working from GELF TCP method.

What you expected to happen: Working GELF UDP method

How to reproduce it (as minimally and precisely as possible): it is my part of the input in values.yaml

input:
    tcp:
      service:
        name: gelf-tcp-input
        type: ClusterIP
        externalTrafficPolicy: Local
        loadBalancerIP:
      ports:
        - name: gelf-tcp
          port: 12201
    udp:
      service:
        name: gelf-udp-input
        type: ClusterIP
        externalTrafficPolicy: Local
        loadBalancerIP:
      ports:
        - name: gelf-udp
          port: 12202

Anything else we need to know:

udawpk avatar Jul 05 '23 22:07 udawpk

The TCP and UDP are running on different k8s services. Did you send to correct service name? Or it may depends on cloud provider. Some annotations may need.

KongZ avatar Jul 06 '23 03:07 KongZ

The TCP and UDP are running on different k8s services. Did you send to correct service name? Or it may depends on cloud provider. Some annotations may need.

Hello, Thanks for the answer. I`m using AWS EKS version 1.27 and KongZ Graylog helm chart version: 2.3.2. I tried many different approaches but UDP not working instead TCP working well. Why do I so need UDP? Because the TCP method should wait for a response and it is additional loads for my pod application. I want to use the GELF UDP method. But it is not working in my case. Thanks.

udawpk avatar Jul 06 '23 12:07 udawpk

Hi, same problem here, running graylog helm 2.3.7. I configured on kubernetes 1.28, and using a service type LoadBalancer. UDP is not working.

brunoemer avatar Jul 09 '24 17:07 brunoemer