Hi all
I'm currently putting together a central log server, however there are
a few caveats that I'm trying to work around.
1. Logs need to be organised by program and environments.
Unfortunately I can't pass a second syslogtag so I'll need to do
some hostname matching.
but this will be come quite "static". We create environments quite
regularly therefore I'd like to avoid this if possible.
2. I need to strip out the tag and the hostname from the logs.
The ideal layout would be something like:
"/var/log/remote/dev/httpd/%hostname%/access_log_%$YEAR%-%$MONTH%-%$DAY%"
Any advice would be greatly appreciated.
Thanks,
Gareth
_______________________________________________
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.