Input plugin to handle server sent events


(Charek Chen) #1

Hi
can the existing http poller be used to receive server sent events? I was looking for a plugin/discussion on this but have not found anything. My goal is to read events from the Marathon event bus (https://mesosphere.github.io/marathon/docs/event-bus.html) and save it into Graylog. Looks like someone started work 3 years ago on such a plugin but there's no documentation (https://github.com/magneticio/logstash-input-sse)


(Guy Boertje) #2

Sorry, there is no plugin that I know of for SSE that works with LS 5.0+.

The plugin you linked to is LS 1.x and 2.x.


(Guy Boertje) #3

You may have some luck with this library https://github.com/radiospiel/sse - you have to make the binary.

Or maybe try a python sse client.

Maybe you can pipe the output to the logstash-input-stdin


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.