Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Logging is an exercise in solving problems of future you.

We don't log just to have records of everything, we log to solve future questions.

I'm working on a system that generates huge numbers of log entries and have settled on a short term solution to over log everything.

Once a log entry has persisted, I'm using it as a 'Bronze Layer' in a typical Medallion Model and will then filter that log data up into Silver and Gold layers so I can have billing, reporting, dashboard metrics being lifted out of the verbose logs.

Not sure what I'll do with the verbose Bronze Layer logs maybe cold store them somewhere, but it's interesting to experiment with progressive aggregation of logs to hopefully purge and dispose of the raw log data as fast as we can extract value.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: