Hi Ben,
you can use a syslogtag to separate one vHost from another in your
vHost log directive.
You have to cretae a template on your logserver which stores your
logfiles separated by your syslogtag
rgds
Axel
Am 07.12.2012 12:45, schrieb Ben Bradley:
2) What's the best way to log to both vhost-specific log files on the
web server and to send these logs over the network, without using
imfile and manually watching tens of individual log files?
Get Apache to log to rsyslog, then have rsyslog split the log to both
a file and over the network to logstash?
Are there big performance implications for logging both locally and
over the network?
I could change my Apache config to log to a single access/error log
for all vhosts, then watch these main log files with imfile. So long
as rsyslog is then able to produce vhost-specific log files somewhere
on the web server machine.
Any comments/suggestions?
I am sure others have had a similar need. I just don't want to ditch
local log files until we fully know how well the centralised log
server performs.
Thanks in advance!
Cheers, Ben
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a
myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT
POST
if you DON'T LIKE THAT.
--
Never argue with an idiot; people watching may not tell the difference
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.