Stream data out of InfluxDB via websocket

Hello,

Has anyone tried or heard of a solution that could stream data out of InfluxDB / Kapacitor, preferably over a web socket? The use case would be something like Javascript connecting to the websocket so it can live update part of a page with the latest data that’s been sent into InfluxDB.

I’m a little surprised that there’s no ws:// Node in Kapacitor. The closest I can find would be implementing our own Kapacitor UDF, and then making that UDF program present a websocket on it’s own. That sounds a little flimsy though.

Any thoughts or suggestions?

2 Likes