Real-Time Log Collection with Fluentd and MongoDB
blog.treasure-data.com
Real-Time Log Collection with Fluentd and MongoDB
1–10 of 21 posts
Re: Real-Time Log Collection with Fluentd and MongoDB
#2Re: Real-Time Log Collection with Fluentd and MongoDB
#3Do you have a parser for nginx and/or lighttpd? Would like push logs from these to MongoDB.
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:ModAccesslogRe: Real-Time Log Collection with Fluentd and MongoDB
#4MongoDB is very popular, but all the (limited) criticisms of it seem to related to insert performance once the dataset it too big to fit in RAM.
Normally the easy-of-development arguments make up for that, but log files is one of those areas that has a tendency to expand quickly beyond any expectations.
There is a reason why most companies are using HDFS and/or Cassandra for structured log file storage.
Re: Real-Time Log Collection with Fluentd and MongoDB
#5Very nice & all, but... MongoDB? MongoDB is very popular, but all the (limited) criticisms of it seem to related to insert performance once the dataset it too big to fit in RAM. Normally the easy-of-development arguments make up for that, but log files is one of those areas that has a tendency to expand quickly beyond any expectations. There is a reason why most companies are using HDFS and/or Cassandra for structure…
This is HDFS (Hoop, the HDFS REST gateway) plugin.
* https://github.com/tagomoris/fluent-plugin-hoop
And also, Cassandra plugin are now in under development.
* https://github.com/tomitakazutaka/fluent-plugin-cassandra
You can see the user contributed plugin list here.
Re: Real-Time Log Collection with Fluentd and MongoDB
#6Do you have a parser for nginx and/or lighttpd? Would like push logs from these to MongoDB.