Re:Real-Time Log Collection with Fluentd and MongoDB
by nodesocket on Monday December 05, 2011 @12:02AM
(#3313178)
Do you have a parser for nginx and/or lighttpd? Would like push logs from these to MongoDB.
[ Parent
| on HN ]
Re:Real-Time Log Collection with Fluentd and MongoDB
by hoop on Monday December 05, 2011 @12:13AM
(#3313209)
For lighttpd, try the following in your config to log in a format identifical to that of Apache's combined log format.
accesslog.format = "%h %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
See the docs on ModAccessLog for more information: http://redmine.lighttpd.net/wiki/1/Docs:ModAccesslog