Hello Folks!
I'm trying to parse exotic SMS gateway (www.kannel.org) logfiles
that include dates, times, GSM mobile phone numbers and other
information. I
would like to list the amount of different GSM numbers & amount of
different SMS
keywords that are found in the logfile.
A single request is logged as follows:
2001-03-09 16:09:05 [4] INFO: Starting to service <icon blade> from
<358501235322> to <1234>
"Pseudocode" for the format would be:
yyyy-mm-dd;hh:mm:ss;[INFO: | DEBUG: | SYSTEM:];" Starting to service
";<"SMS keyword(s)">;" from ";<a GSM phonenumber>;" to ";<a SMS Center
phonenumber>
The LOGFORMAT command doesn't seem to include "REGEXP" kind of
flexibility (or did I miss something?), but is it anyhow possible to use
other commands / methods to output the amount of all different GSM
numbers, keywords and SMSC numbers?
I'm running Analog 4.16 on RedHat Linux 7.1. (Upgrade to 5.0 would be
Ok if needed).
Thank you so much!
Regards,
Lare Lekman
Ps. If you are interested in a GNU licensed (free) SMS/WAP gateway,
please visit http://www.kannel.org
--
Lare Lekman
Technical Account Manager
http://www.wapit.com
GSM +358 50 300 0015
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------