Created
October 4, 2017 22:07
-
-
Save visualjeff/48e87da311c681c2cbfcaf9dd5e16910 to your computer and use it in GitHub Desktop.
Enable remote syslog on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Edit /etc/rsyslog.conf | |
sudo vim /etc/rsyslog.conf | |
Uncomment as needed: | |
# provides UDP syslog reception | |
#module(load="imudp") <== Uncomment | |
#input(type="imudp" port="514") <== Uncomment | |
# provides TCP syslog reception | |
#module(load="imtcp") | |
#input(type="imtcp" port="514") | |
Restart the service: | |
sudo service rsyslog restart |
Note this also works for Debian.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To view messages in syslog: