Graylog: Configuring the Graylog input
This documentation is part of the Using with Node.js guide. You can view the complete guide here: How to send logs from Node.js to Graylog.
👋 Welcome to the Stackhero documentation!
Stackhero offers a ready-to-use Graylog cloud solution that provides a host of benefits, including:
- Unlimited and dedicated SMTP email server included.
- Effortless updates with just a click.
- Customisable domain name secured with HTTPS (for example, https://logs.your-company.com).
- Optimal performance and robust security powered by a private and dedicated VM.
Save time and simplify your life: it only takes 5 minutes to try Stackhero's Graylog cloud hosting solution!
On the Graylog interface, go to System/Inputs, create a new input of type "GELF UDP," and click on "Launch new input." In the window that appears, tick "Global," add a title, and confirm without changing any other settings.
That's all there is to it! Your Graylog is now ready to receive logs from your Node.js application.
To enhance security, consider filtering the IP addresses allowed to send data to port 12201. To do this, go to the Stackhero dashboard, select your Graylog service, and configure the "Firewall" to allow only your IP addresses.