Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question on rsyslog - Configuring local and remote logging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
brent_weaver
Guru
Guru


Joined: 01 Jul 2004
Posts: 510
Location: Burlington, VT

PostPosted: Fri Nov 20, 2015 11:52 am    Post subject: Question on rsyslog - Configuring local and remote logging Reply with quote

Good morning. I am setting up a rsyslog remote syslog server. Although I have it working OK, I am trying to configure it so that it will log the hostsl local files as if it were not a syslog server (i.e. /var/log/messages, /var/log/secure etc...) and have any remote log clients to write to a file in /var/log/rsyslog/%HOSTNAME%/rsyslog.log .

I am getting logs as expected, the only part I am trying to figure out is this:

Code:
$template TmplAuth, "/var/log/rsyslog/%HOSTNAME%/syslog.log"
authpriv.*   ?TmplAuth
*.info,mail.none,authpriv.none,cron.none   ?TmplMsg


I should mention that I am getting logs from a Barracuda firewall. Any help is much appreciated!
_________________
Brent Weaver
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum