Unix/Linux simple log parser (since, until)
- by dpb
Has anyone ever used/created a simple unix/linux log parser that can parse logs like the following:
timestamp log_message \n
Order the messages, parse the timestamp, and return:
All messages
Messages after a certain date (--since)
Messages before a certain date (--until)
Combination of --since, --until
I could write something like this, but wasn't sure if there was something canned. It would fit well in some automated reporting I'm planning on doing.