Giter Club home page Giter Club logo

Comments (4)

rjhenry avatar rjhenry commented on July 20, 2024 1

I'm still seeing issues, but I think that they may be at the orchestration level and not the container level. Many thanks!

from seq-input-gelf.

KodrAus avatar KodrAus commented on July 20, 2024

Hi @rjhenry šŸ‘‹

What do you get from docker inspect for that container image? Are you setting the GELF_ADDRESS environment variable with a tcp:// prefix? The server will listen on UDP by default, unless we specify TCP in the address to bind. This is just for backwards compatibility reasons, and could probably be better spelled out in the readme.

from seq-input-gelf.

rjhenry avatar rjhenry commented on July 20, 2024

I'm running this on top of containerd in a Kubernetes cluster; there's
no docker installed! Inspecting with containerd's info tool gives
the following:

# microk8s.ctr c info
e382338439ef0352901abe97a04c5714fc6ff3aeec46f2f65f189bb5b3656b14 | grep
-i gelf
        "io.kubernetes.container.name": "seq-input-gelf",
        "io.kubernetes.pod.name": "seq-gelf-translator-647b8ff5d7-m92pw",
    "Image": "docker.io/datalust/seq-input-gelf:2.0",
                "HOSTNAME=seq-gelf-translator-647b8ff5d7-m92pw",
                "GELF_ADDRESS=",
                "SEQ_GELF_TRANSLATOR_PORT_12201_TCP_PROTO=tcp",
                "SEQ_GELF_TRANSLATOR_PORT_12201_TCP_ADDR=10.152.183.65",
                "SEQ_GELF_TRANSLATOR_PORT_12201_TCP_PORT=12201",
                "SEQ_GELF_TRANSLATOR_SERVICE_HOST=10.152.183.65",
                "SEQ_GELF_TRANSLATOR_PORT=tcp://10.152.183.65:12201",
                "LOGSTASH_SERVICE_PORT_GELF_TCP=8081",
                "SEQ_GELF_TRANSLATOR_SERVICE_PORT_GELF_TCP=12201",
                "SEQ_GELF_TRANSLATOR_SERVICE_PORT=12201",

"SEQ_GELF_TRANSLATOR_PORT_12201_TCP=tcp://10.152.183.65:12201",
                "source":
"/var/snap/microk8s/common/var/lib/kubelet/pods/ca94cfaf-a628-4448-be8c-174e8ed45294/containers/seq-input-gelf/7df8e178",

I'll give it a go specifying a tcp:// prefix. I've just re-read the
README and it does specify that is should be set to either tcp:// or
udp://, whereas when I first read the documentation I read that as it
supports either!

I think this is solidly user error, but will test and let you know
before closing the issue.

from seq-input-gelf.

KodrAus avatar KodrAus commented on July 20, 2024

No problem! If you are running into more issues Iā€™d love to hear about them and anything we can do to improve the experience šŸ™‚ It can be tricky for us to run in all the different shaped environments ourselves so user reports are really valuable.

from seq-input-gelf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.