[CentOS] Log monitoring

Wed Jul 6 15:45:53 UTC 2011
m.roth at 5-cent.us <m.roth at 5-cent.us>

Bowie Bailey wrote:
> On 7/6/2011 5:37 AM, Fajar Priyanto wrote:
>> Hi all,
>> Currently I do 'tail -f /var/log/messages | grep something' to
>> monitor/tune in my iptables rules.
>>
>> Based on your experience, is there any tools do that better like:
>> - color
>> - grepping multiple keywords
>> - some statistic
>
> I don't know about any tools for this, but I did want to point out that
> grep can handle multiple keywords.
>
> $ tail -f /var/log/messages | grep -e keyword1 -e keyword2 -e keyword3
<snip>
Haven't used them, but cactus? splunk?

        mark