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 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.
- Customizable 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, 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.