Graylog: Configuring the Graylog input
This documentation is part of the Using with Node.js guide. View the full guide here: How to send logs from Node.js to Graylog.
👋 Welcome to Stackhero documentation
Stackhero provides a fully managed Graylog cloud solution designed for speed and simplicity. You can:
- Rely on an unlimited, dedicated SMTP email server included with your service.
- Apply updates effortlessly with a single click, with no manual intervention needed.
- Use a custom domain name secured by HTTPS (for example, https://logs.your-company.com), giving your team secure, direct access.
- Experience strong performance and security on a private, dedicated infrastructure with no shared resources or noisy neighbors.
Focus on your data, not your tooling: you can get started with Stackhero's Graylog cloud hosting solution in just a few minutes.
On the Graylog interface, navigate to System/Inputs, create a new input of type "GELF UDP," and click on "Launch new input." In the modal that appears, check "Global," add a title, and confirm without modifying any other settings.
That is all there is to it! Your Graylog is now set up to receive logs from your Node.js application.
To enhance security, consider filtering the IPs allowed to send data to port 12201. You can do this by going to the Stackhero dashboard, selecting your Graylog service, and configuring the "Firewall" to allow only your IPs.