Hi all,

I've recently started setting up a remote rsyslog server for an Apache
cluster.  Sending the logs to the remote log server works well, but
when I try and create a dynamic file name using the %syslogtag% tag I
get a colon in the name e.g.
/data/logs/sitelogs/otrs/httpd/foo.bar:-custom.log

An example Apache log entry looks like this:
2010-12-29T15:41:31+02:00 foo foo.bar: - - [29/Dec/2010:15:41:31
+0200] "GET /otrs-web/skins/Agent/default/img/widget_bg_100.png
HTTP/1.1" 304 -
"http://<domainchanged>/otrs-web/skins/Agent/default/css-cache/CommonCSS_ed85b1c7566e62a443ae9b4af8b335a8.css"
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027
Ubuntu/10.10 (maverick) Firefox/3.6.12"

Does anyone know how I could remove the : when trying to create a file?

Thanks in advance
Gareth
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to