2

Is it possible?

If so, how is it done exactly? The syslog.conf file doesn't help too much.

4
  • 1
    Have you done any research already? Sending logging entries to a remote server is one of the core capabilities of syslogd. Here's just one guide I quickly dug up: news.softpedia.com/news/… Apr 4, 2012 at 12:52
  • @OliverSalzburg For completeness here is a guide describing the problems in the syslog "plain tcp format", an interesting read: blog.gerhards.net/2008/04/…
    – Shadok
    Apr 4, 2012 at 13:08
  • @Oliver Salzburg According to my understanding, syslogd is the daemon running the local logging.
    – user6004
    Apr 4, 2012 at 15:14
  • One might want to have a look at RELP, which addresses some of the reliability issues that may (rarely) pop up with rsyslogd. wiki.chilblain.net/dokuwiki/doku.php/…
    – lysdexia
    Aug 20, 2013 at 20:51

2 Answers 2

6

Yes it is possible and you can use rsyslog.

There is a good online manual for doing this: http://www.rsyslog.com/doc/rsyslog_reliable_forwarding.html

And the general rsyslog doc is: http://www.rsyslog.com/doc/manual.html

3
  • I use rsyslog for this exact purpose.
    – LawrenceC
    Aug 20, 2013 at 21:00
  • @mattdm could you explain why using rsyslog is plain wrong? It does work for me and others (customers): I have been using it in various professional environments. But I guess you have some arguments and I would be curious to here them and discuss further with you. For this purpose I invite you to use the chat feature. We could then put a summary here once we discussed it.
    – Huygens
    Aug 21, 2013 at 7:43
  • @mattdm Ho, OK understood. I did not see that the words carried such strong "narrow" emphasis. I will update the sentence then.
    – Huygens
    Aug 21, 2013 at 12:47
0

You can do this by adding the following line at the end of /etc/rsyslog.conf

for udp

*.* @remoteserverip

for tcp

*.* @@remoteserverip

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .