It's quite easy to process kannel log files using "cat" and "grep" (or fgrep) commands. If you want to know the number of sent SMS for a certain short number, you may try something like:
cat access.log | grep "Sent SMS" | grep "\[from: 8888\]" | wc -l If your log file is already compressed: zcat access.log.gz | ... Hope this can help you. On Wed, Apr 23, 2008 at 10:08 PM, Luis Valencia <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > I need to do a lot of searches in the access.log information, but its really > nasty to do it on a text plain file. So I want to know if anyone ever try > to dump the access.log to a Mysql database table so I can run queries on it? > > > > Anyone? Or any other option to do what I want? > > > > Thanks a lot in advance. > > > > Luis GT > > > > > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean.
