Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Unique IDs in Logfiles
  FAQ FAQ  Forum Search   Register Register  Login Login

Unique IDs in Logfiles

 Post Reply Post Reply
Author
Bart View Drop Down
Newbie
Newbie
Avatar

Joined: 20 August 2008
Location: Holland
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bart Quote  Post ReplyReply Direct Link To This Post Topic: Unique IDs in Logfiles
    Posted: 28 January 2010 at 9:08am
Hello,
'
If i wanna make an application that wil read my logfiles and export it to a database i've got the problem that the ID's  in the logfile are not unique
 
for example, in 1 hour of log ID 10020 is the number used for about 16 Sessions
 
How do this ID numbers in the logfiles be generated and is there a way that i can set a specific amount of time where Logfile ID's stay Unique or are the compleet random generated and do i have to find a way to go around this ?
 
I'm not a programmer but someone who wan't to help me asked me this questin.
 
If someone know, please :)
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4065
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 28 January 2010 at 10:42pm
Sorry Bart, but the IDs are not unique. They represent the ID of the thread that is processing the message. They are unique as one thread can only process one message, so starting from the "Connection" log event up to the "Disconnect" log event there will be only one ID in the logs during that timeframe. After the disconnect however the thread terminates, and Windows can (and will) re-use the same thread ID later on to process another message.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
yapadu View Drop Down
Senior Member
Senior Member


Joined: 12 May 2005
Status: Offline
Points: 272
Post Options Post Options   Thanks (0) Thanks(0)   Quote yapadu Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2010 at 7:34pm
Bart,

You might want to check out sawmill.  It is a log processing software, that you can customize to do a lot of things.  I have been playing with it, and it can process the logs and deal with the thread issue.  It basically keep track of data by thread and when a disconnect command is issued then it processes the data collected.
Back to Top
Bart View Drop Down
Newbie
Newbie
Avatar

Joined: 20 August 2008
Location: Holland
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bart Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2010 at 7:35am
Thanks for the reaction, i know Sawmill and i'v tested it and it workt good but when mails are being filtered and customers are calling me asking where dit my mail go it is more easy to do a search to a database and get back all relative information regarding that mail adres to see why it was quarantined or deleted.
 
It is just to make the life of our support desk easyer and not for statistics.
 
I thougt the ID in the lofile was unique but when importing the logfiles we found out the warn't so they reprogrammed the program and it workt fine now.
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 seconds.