Lare Lekman wrote:

> 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>

You can 'hijack' certain Analog variables in your logformat to produce 
reports for each type of data. For example, you could call the request 
type "users", SMS keyword(s) "requests", the GSM phone numbers "hosts" 
and the SMS center number "virtual servers" with this format:

LOGFORMAT %Y-%m-%d %h-%n-%j [%j] %u: Starting service <%r> from <%S> to <%v>



-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------

Reply via email to