Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux send syslog message to remote server

# To send logs to local server
logger "hello world"

# To send logs to remote server
nc -w0 -u 192.168.1.1 514 <<< "logging from remote"
Source by linux.byexamples.com #
 
PREVIOUS NEXT
Tagged: #linux #send #syslog #message #remote #server
ADD COMMENT
Topic
Name
9+7 =