tail-f /var/log/messages | grep "what you need"
- and get a live log for this line
if you need to write it down
tail-f /var/log/messages | grep "what you need" > 111.txt
If you need to save in dB then who's stopping you to it .
mysql-uroot -rttool << EOF
Here what to write
In Linux there is no "analog magazine" you will forgive me, such bogosta it is not yet invented. in Linux everything is much easier.
To more accurately describe the task, what kind of thing you need to do.
An example of the file from which to take.
The structure of the database where to put, or how best to display this information.