Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I once read about a database for rolling logs. It was for keeping server data over a fixed period and basically it worked like a huge circular buffer on disk. Since all the space was statically allocated, it didn't suffer from problems of purging old records and the like.

I tried to find the name of that setup today and just can't seem to locate it. I'm recording server log messages (IP traffic mostly) and I only want to keep the data for a set # of days, and just let the wrap around and overwrite the old data, but I still want to be able to mine that data.

Does anyone else remember hearing about it or what the name of it was? I do know it was open source and had been out several years, so its probably at least 3-5 years old.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Was it RRDTool?

share|improve this answer
    
Very good my dear Watson. That was it. Thanks! –  Mark0978 Dec 6 '10 at 16:12
    
Very nice. Good luck! –  EEAA Dec 6 '10 at 16:16

You can use MongoDB with capped collections. Works perfectly for logs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.