Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: fredox27 on December 28, 2012, 03:29:16 PM

Title: Export Syslog to remote server
Post by: fredox27 on December 28, 2012, 03:29:16 PM
Hello,

I want to export all my SME Server logs into my Synology DS.
Where can i configure it ? IP and port ?

Thanks in advance.



Title: Re: Export Syslog to remote server
Post by: Jáder on December 29, 2012, 10:16:32 AM
SME is a linux... anything is on a file.
IF you search for syslog on these forum/wiki you'll find out this:
http://wiki.contribs.org/Syslog

This page tell you how to configure your sme server to receive logs from anything on network.
So it points you to what file to modify to change syslog configuration.
Google is your friend about how to change syslog configuration for your needs.

Good luck.

Jáder
Title: Re: Export Syslog to remote server
Post by: mmccarn on December 29, 2012, 08:48:25 PM
There are several different mechanisms used to create logfiles on SME:
- syslog
- multilog (for most of the supervised sme services)
- other  (apache logs, for example).

I think you'll have quite a bit of difficulty sending all logs to another host.

One option that occurs to me (which may not work at all, and may break your SME server for all I know) would be to make /var/log a mount to an nfs share on your synology...

I don't suppose you'd be willing to simply rsync your logs to the synology every 15 minutes or so?

Is there a specific log file you want to store on the synology? 

Are you concerned about log file security (eg intruders retroactively editing log files to conceal activity), retention (the amount of time included in historical log information), or disk space on the SME?