Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am using logparser 2.2 and need a script that does two things:

  1. finding urls that contain a value within referer
  2. need to loop over 30 folders

logparser -rpt:-1 "select count(*)INTO feeds.txt from u_ex100302*.log where to_lowercase(cs(Referer)) like '/feeds%'"

share|improve this question

1 Answer 1

up vote 0 down vote accepted

for (1,2,3) do logparser "select count(*)INTO feeds.txt from %%i\u_ex100302*.log where to_lowercase(cs(Referer)) like '/feeds%%'"

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.