What frontend framework does Graylog use for custom JS integration?

I’m trying to figure out how to add custom JavaScript code to Graylog’s web interface so I can track user activity and session data. Does anyone know what frontend technologies Graylog is built with? I’m wondering if I can modify the UI directly or if I should set up a reverse proxy like Nginx in front of Graylog to handle this instead. Has anyone done something similar before? Any guidance would be really helpful since I need to get this monitoring in place soon.

Wait, are you injecting JS into existing Graylog pages or building a separate dashboard? I’m curious about the session tracking - what user activity data do you wanna capture? Sounds like an interesting project!

graylog’s frontend is built with react. but changing it directly is tricky since updates overwrite custom stuff. using a reverse proxy like nginx to add your tracking scripts is a smarter way. keeps things tidy and you won’t lose your work after updates.

Yeah, Graylog’s web interface is React-based, but don’t try modifying the frontend directly. You’ll have a nightmare maintaining custom changes when updates roll out. Your reverse proxy idea is spot on - I’ve done similar tracking by injecting JavaScript through Nginx with the sub_filter module. Just adds analytics code right into the HTML responses. You could also build a completely separate custom dashboard using Graylog’s REST API. That gives you full control over JavaScript and tracking without touching the main app.