Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GELF UDP input not working #150

Open
udawpk opened this issue Jul 5, 2023 · 3 comments
Open

GELF UDP input not working #150

udawpk opened this issue Jul 5, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@udawpk
Copy link

udawpk commented Jul 5, 2023

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 udawpk added the bug Something isn't working label Jul 5, 2023
@KongZ
Copy link
Owner

KongZ commented Jul 6, 2023

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.

@udawpk
Copy link
Author

udawpk commented Jul 6, 2023

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.

@brunoemer
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants