Giter VIP home page Giter VIP logo

Comments (7)

mariussturm avatar mariussturm commented on June 3, 2024

Hi,
do you have any messages in the stream that is associated to the output?

from graylog-plugin-riemann.

schildeinp avatar schildeinp commented on June 3, 2024

Hi, of course. A stream with all events which arrive at the graylog.

from graylog-plugin-riemann.

mariussturm avatar mariussturm commented on June 3, 2024

Without any error message it's then hard to say if this is a bug or a missconfiguration. Do you see anything in the Graylog server log or in Riemann?

from graylog-plugin-riemann.

schildeinp avatar schildeinp commented on June 3, 2024

Nothing at all. In the graylog log I see the start of the plugin, as mentioned I can observe the connection establishment but after that nothing more happens ...

from graylog-plugin-riemann.

igoros777 avatar igoros777 commented on June 3, 2024

I'm seeing a similar behavior. The graylog2 server log shows plugin is loaded:
Loaded plugin: Riemann Output Plugin 1.1.2 [org.graylog2.outputs.riemann.RiemannOutput]

It functions fine in Web UI. The stream has messages. Connection between riemann and graylog is established on port 5555.

root@graylog:/var/log/graylog# netstat -tunap | grep 5555 tcp6 0 0 0.0.0.0:5555 :::* LISTEN 11646/java tcp6 0 0 127.0.0.1:5555 127.0.0.1:58950 ESTABLISHED 11646/java tcp6 0 0 127.0.0.1:58950 127.0.0.1:5555 ESTABLISHED 15215/java udp6 0 0 :::5555 :::* 11646/java

riemann 11646 1 0 15:16 ? 00:00:11 java -cp :/usr/share/riemann/riemann.jar riemann.bin start /etc/riemann/riemann.config

root 15215 839 74 15:29 ? 00:04:46 /opt/graylog/embedded/jre/bin/java -Xms1g -Xmx1500m -XX:NewRatio=1 -server -XX:+ResizeTLAB

But I see nothing in either riemann log or the riemann-dash. Both work with other inputs, such as riemann-health.

from graylog-plugin-riemann.

mf-collinhayden avatar mf-collinhayden commented on June 3, 2024

I see the same as these guys, it doesn't work. I used netstat to verify the handshake and see the ESTABLISHED connection. I also see the plugin start up in the graylog server.log. I used tcpdump and see the handshake, but after that nothing is coming across the wire. We created the output and mapped it to a stream... we tried both udp and tcp and nothing.

here are the versions we are using:
dpkg -l | grep graylog
ii graylog-server 2.0.3-1 all Graylog server

/etc/graylog/server$ ls -al /usr/share/graylog-server/plugin/ | grep riemann
-rw-r--r-- 1 root root 135371 Aug 20 2015 graylog-plugin-output-riemann-1.1.3-SNAPSHOT.jar

from graylog-plugin-riemann.

mariussturm avatar mariussturm commented on June 3, 2024

I have updated the Riemann Java client in v1.1.3, UDP and TCP is working on my machine. When you see an established TCP connection without events on the Riemann server side, keep in mind that this plugin is working in batches. It waits until there are enough messages for a batch and sends them together. With a batch size of 1 you can see the events immediately but it comes with a performance degradation: https://github.com/Graylog2/graylog-plugin-riemann/releases/tag/v1.1.3

from graylog-plugin-riemann.

Related Issues (4)

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.