LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   forward system logs to syslog server (https://www.linuxquestions.org/questions/linux-newbie-8/forward-system-logs-to-syslog-server-757592/)

digity 09-24-2009 04:38 PM

forward system logs to syslog server
 
I'm running Ubuntu Desktop 9.10. How do I get it to forward its logs to a syslog server (its running on a different machine)?

TIA

chrism01 09-24-2009 05:53 PM

This should work

on sender, modify /etc/syslog.conf like this

*.warn @192.168.0.1

on receiver, modify /etc/sysconfig/syslog; add -r to list of options for SYSLOGD_OPTIONS

digity 09-24-2009 09:20 PM

hmmm... well the syslog server is actually Splunk (so I don't know how to configure anything on that except add UDP 514 as a data input) and on top of that I would like the first machine to keep a copy of its logs in addition to forwarding them

is this possible?


All times are GMT -5. The time now is 05:25 AM.