The journald design is horrible to the point of useless
The journald design is horrible to the point of useless
Posted Dec 2, 2011 4:36 UTC (Fri) by dlang (guest, #313)In reply to: The journald design is horrible to the point of useless by anselm
Parent article: That newfangled Journal thing
I do believe that he is wrong, and I give him the benefit of the doubt and assume that he failed to research the current state of the art around syslog
(and the fact that Rainer says that LP never talked to him about the journal reinforces this), because otherwise he is being deliberately misleading in his statements.
The fact that anyone would propose such a drastic change without learning the state of the art significantly undermines the credibility of their paper as far as I am concerned.
syslog-ng and rsyslog are both commonly used on *BSD and solaris, so while you may want to do research to see if there are missing tweaks, others have done so already.
there are many different ways of storing logs, different ways have different benefits and drawbacks when accessing the logs
the traditional text files rolled periodically are great for looking at what happened around a particular time (including especially, what is happening now, or has happened just recently)
However, they are horrible at doing searches for previously unexpected information over a large volume of logs.
If you know what you are expecting to be looking for, you can tailor your log store to make it easy to find that, but assuming that you don't want to do so, a couple 'off the shelf' approaches to rapidly finding things in large log volumes are:
1. log to a postrgesql database and enable the full-text indexing (I believe it's called gist indexing), this will let you search rapidly for any text
2. log to hadoop and use it's search capabilities (including clustering) to search the logs.
in both cases this is a little more than just 'apt-get magic-tool', because you need to configure the database and then configure rsyslog to write to the database, but all the pieces are there, it really is just a matter of configuring them.
this is more than just "yes we could do that if we wanted", it's "we already created the tools to do that, and people are using the tools to do that, you can do the same"
