Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17761

help! Trying to set up an Ubuntu syslog server

$
0
0

I will preface this with, I am a Linux newbie. I had set up a Debian Linux rsyslog server that was working, but I had to switch to Ubuntu. I was hoping that I would be able to just copy the parts of the config over and it would work. That has not been the case.

My syslog is receiving the information, however it is just wrinting to the default file /var/log/syslog.

Here is my current config, I have edited out the items that were commented out:

$ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support $ModLoad imudp $UDPServerRun 514 $ModLoad imtcp $InputTCPServerRun 514 $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat $RepeatedMsgReduction on $FileOwner syslog $FileGroup adm $FileCreateMode 0640 $DirCreateMode 0755 $Umask 0022 $PrivDropToUser syslog $PrivDropToGroup syslog #this was a template given to me that had worked in debian $template Firewall,"/var/log/prd/fwlog-%$YEAR%-%$MONTH%-%$DAY%" $template Switch,"/var/log/prd/rslog-%$YEAR%-%$MONTH%-%$DAY%" Local7.* -?Firewall Local4.* -?Switch 

Is there some things that differ for rsyslog in Ubuntu vs. Debian?

Thanks in advance for any help.

submitted by Li0nrawr
[link][4 comments]

Viewing all articles
Browse latest Browse all 17761

Trending Articles