riak as log storage

Jon Brisbin jon at jbrisbin.com
Thu Apr 14 10:04:32 EDT 2011

I actually did this exact thing in the MongoDB Log4J appender I wrote. I haven't had time to port it Riak yet, but that's my plan when I get a few spare minutes. I even wrote a dojo-based front-end for it that I'm beefing up to include sorting entries, searching, etc... Kind of a graylog2 baby clone... :)



On Apr 14, 2011, at 3:48 AM, Alessandro Testa wrote:

> hi guys,
> i'm try to design a log storage based on riak.
> the requiment are:
> 1 the system needs to be able to store any number of these log event
> 2 the system needs to be able to apply a label to some of these event
> 3 the user can access the most recent log, and then can go back in time (cannot 
> decide to start in the middle of the list or look for a specific event)
> 4 the user can filter the log based on the label and access the filtered list in 
> with the same parameter as point 3
> my idea is to store each event as a json document, the key of the document will 
> be a uuid (type1). each document will be linked to the previous one, so i can 
> follow the link to view the previus log.
> i want to add also other links that point to the previous event marked with the 
> same label.
> i hope i explain enough the problem and the design.
> now my questions:
> - do you think this is a good architecture?
> - i read about luwak, do you think it can be used in a scenario like this?
> thank, i really hope to get some feedback from you!
> Alex
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Jon Brisbin

Twitter: @j_brisbin

More information about the riak-users mailing list