Send syslog log to rsyslog server? is possible?
Hello,
I have a server with debian and rsyslog and I have another server with slackware and syslog. I saw slackware don't have rsyslog neither on slackbuilds (why?:confused:). So how I can send log from syslog (slackware) to a rsyslog (debian)? I did some tests, but were not satisfactory. Previously I configure two another server (with other distros) with rsyslog both, and I can send log through both. Thanks. John |
sure, you just use "@ip.of.ser.ver" instead of a file name in syslog.conf. This will send by UDP to the remote host.
http://linux.about.com/od/commands/l...l8_syslogd.htm not that there should be no such thing as interoperability between different syslog server types. they both speak syslog therefore you can send data from one to another using a common standard. |
Hi acid,
Hey thanks for the reply, I already do that. But I don't know why do not receive any log in rsyslog (debian). Check this: Quote:
Quote:
Quote:
Note: @@TCP and @UDP (already test both and nothing) John |
Quote:
Code:
local0.* @@192.168.0.150:514 Code:
local0.* @192.168.0.150 You should read the man page that's on the slackware box when you are configuring the slackware syslog.conf. You should also ensure that rsyslogd on the debian box is listening on 192.168.0.150:514. |
Quote:
I'll check that later, I'm not at work right now, thanks again... John |
Solved
It's works Richard... thanks both of you Richard and Acid ;)
In conclusion, Syslog can send log to rsyslog, using the follow syntax: Quote:
Quote:
John |
Quote:
|
Quote:
best regards, John |
sorry, I spotted this only now.
I actually had some testing with rsyslog on slackware and it seems to work pretty fine, if you want to try it you can find the latest build script here http://cgit.ponce.cc/slackbuilds/pla...log/?h=rsyslog http://github.com/Ponce/slackbuilds/...ystem/rsyslog/ |
Quote:
Yeah I saw you link a couple of days when I was searching for a slackbuild of rsyslog, nice! I tested in my PC. But I decided to use the syslog what come with slackware, for stability purpose, you know, because is for a client. And mostly because the server with slackware is of the client. But the next time I'll use you slackbuild, I need to be sure first. thanks, John |
All times are GMT -5. The time now is 03:10 AM. |