 	    ) />
 </cffunction>
 
+<cfset numberOfRequests=50000>
 <cfexecute
 	 timeout="10"
 	 name = "/usr/bin/tail"
 	 errorVariable="errorOut"
 	 variable="exrslt"
-	 arguments = "-5000 #Application.requestlog#" />
+	 arguments = "-#numberOfRequests# #Application.requestlog#" />
 
 <cfset x=queryNew("ts,ip,rqst,usrname")>
 <cfloop list="#exrslt#" delimiters="#chr(10)#" index="i">

<cfquery name="x" dbtype="query">
	select * from x where rqst not like '%.cfc%'
</cfquery>

<cfquery name="x" dbtype="query">
	select * from x where rqst not like '%/form/%'
</cfquery>

<cfquery name="x" dbtype="query">
	select * from x where rqst not like '%/includes/%'
</cfquery>
<cfquery name="x" dbtype="query">
	select * from x where usrname =''
</cfquery>
<cfquery name="dip" dbtype="query">
	select distinct(ip) from x
</cfquery>
