LogFile analyzer
Commad line commands reference


Available commands 1999-11-25	(YYYY-MM-DD)
Numbe		Description			Requierments
-------------------------------------------------------------------------------------------------

filename.txt	filename to open			must be first argument

100		find users in logfile

210		filter all to file			100
250		filter IP to file			100, next argument must be IP
260		filter user to file			100, next argument must be username

300		count all transfers
350		count transfers from IP		100, next argument must be IP
360		count transfers made by user	100, next argument must be username

out.txt		filename to save output to		must be last argument




all commands not modular with 100 require the command 100.
all commands ending with 50 or higher requiers additional input, look above.



Ex: (good)
LogFile.exe filename.log 100 out.txt
start the program open the file filename.log and run the Find users command. save to out.txt

Ex: (good)
LogFile.exe filename.log 100 210 out.txt
LogFile.exe filename.log 210 100 out.txt
any line of the two above start the program open the file filename.log, run the Find users command and filter all sessions to file. save to out.txt

Ex: (bad)
LogFile.exe 100 210 filename.log out.txt
this will not work since the input file is not the first argument

Ex: (good)
LogFile.exe filename.log 100 250 127.0.0.1 350 127.0.0.1 out.txt
LogFile.exe filename.log 250 127.0.0.1 350 127.0.0.1 100 out.txt
any line of the two above start the program open the file filename.log, run the Find users command, filter sessions from given IP and count transfers for the given username. save to out.txt

Ex: (bad)
LogFile.exe filename.log 100 250 350 127.0.0.1 out.txt
250 not followd by ip.

Ex: (good)
LogFile.exe filename.log 100 260 user1 360 user1 out.txt
LogFile.exe filename.log 250 user1 350 user1 100 out.txt
any line of the two above start the program open the file filename.log, run the Find users command, filter sessions from given username and count transfers for the given username. save to out.txt

Ex: (bad)
LogFile.exe filename.log 100 260 out.txt
260 not followd by username.

Ex: (bad)
LogFile.exe filename.log 100 250 350 127.0.0.1
no output file specifyed.



make sure that the PREFERENCES->OPTIONS->SAVE OPTION->Append when filtering option is turned on.
also, to run a script with more then one start of the program, make sure the AutoExit option is tured on.
it is found under PREFERENCES->OPTIONS->COMMAND LINE OPTIONS.
