Forwarding Logs from Nagios Log Server
If necessary, you can forward all of the logs from your Nagios Log server to a different server by creating a new output in NLS.
To create a new output:
- In NLS, navigate to Configure > Global Config.
- Click on the Show Outputs button.
- Select Add Output > Custom.
- Enter a name for the output.
- Enter a new output config like:
udp {
host => '<ip of destination server>'
port => '514'
} - Click the Save & Apply button.
This will take all of your information (as it is, after it passes through your inputs/filters) and export it to <ip of destination server>:514 via UDP.