Sending logs to the remote syslog server

8 posts / 0 new
Last post
#1 Thu, 09/05/2013 - 09:54
Interact

Sending logs to the remote syslog server

Is there any special way for the Virtualmin to send logs to the remote syslog server or I can do it as for a regular CentOS install?

Thanks

Thu, 09/05/2013 - 10:57
andreychek

Howdy,

Doing that is just a matter of configuring Syslog to send some or all messages to a remote server.

You can do that by manually editing the Syslog config, or you can go into Webmin -> System -> System Logs -> Add System Log, and there you can specify a remote server to send the logs to.

-Eric

Thu, 09/05/2013 - 11:26
Interact

I have added new system log as Syslog server on 10.38.30.75 (is on same local network) and set ALL messages to be sent. Went to syslog server and there are no logs reported from Webmin server.

Any clue?

Thanks

Sat, 09/07/2013 - 15:12 (Reply to #3)
bvansomeren

Did you restart the syslog daemon?

Mon, 09/09/2013 - 12:28 (Reply to #4)
Interact

Well, I have clicked on the start syslog server button but it doesn't say nothing if it started or not.

Sun, 09/08/2013 - 07:37
Locutus

Also, is rsyslogd listening on UDP port 514 on all IPs on the syslog server?

Mon, 09/09/2013 - 12:26 (Reply to #6)
Interact

I have set

$AllowedSender UDP, 127.0.0.1, 10.38.30.0/24 $AllowedSender TCP, 127.0.0.1, 10.38.30.0/24

and I'm getting logs from other devices like firewall but not from Virtualmin (same subnet)

Mon, 09/09/2013 - 12:39
Interact

It looks like it needs to restart rsyslog service from the console (Webmin button is not doing that).

Topic locked