logparser - Log Parser recusive file read -
i'm trying using micorosofts log parser read multiple sets of iis log files. now, query works fine, however, work properly, need have directory listed files exist directly under.
i want able recursive search under high level directory. have found how thru dlls, can't find how command prompt.
there has simple solution this, , i'm missing it.
add -recurse:-1
option command-line. check available command-line options input format with: c:\>logparser -h -i:iis
example output:
input format: iis (microsoft iis log format) parses microsoft iis log files syntax: <filename> | <siteid> [, <filename> | <siteid> ... ] <siteid> = '<' siteid '>' siteid can siteid number, qualified adsi path (e.g. "//gabriegi1/w3svc/1"), or site name (e.g. "my external site"), containing wildcards parameters: -locale <locale name> : 3-letter id of log file locale [default value=def] -returnextrafields on|off : return additional fields in parameters field [default value=off] -icodepage <codepage id> : input codepage (-2=guess filename and/or loginutf8 property) [default value=guess filename and/or loginutf8 property] -recurse <level> : max subdirectory recursion level (0=no recurse, -1=all levels) [default value=0] -mindatemod <date> : minimum file last modified date [default value=not specified] -icheckpoint <checkpoint file> : save checkpoint information file [default value=no checkpoint] fields: logfilename (s) logrow (i) userip (s) username (s) date (t) time (t) serviceinstance (s) hostname (s) serverip (s) timetaken (i) bytessent (i) bytesreceived (i) statuscode (i) win32statuscode (i) requesttype (s) target (s) parameters (s)
Comments
Post a Comment