Command Line Reporting Options

This parameters group allows generate reports using command line without visual mode of IAS Log Viewer.

Option Default Description
Option Default Description
-r Use previous visual session report parameters
-rdDirName Set folder for result reports.
If you specify a path or file name that contains spaces after a switch, enclose
the path in quotation marks.
-rt(html|xml|csv) -rthtml Set report type.
-rp(FromDate;ToDate|Setting|LastHours) -rpalldata Set dates interval. Only data that match this
interval will be used. One of following list items can be used in this
parameter: today, yesterday, currentweek, previosweek, currentmonth,
previousmonth, currentyear, alldata
or date can be set in mm/dd/yyyy [H:mm:ss] format.
You may using LastHours=value also.
-rr(u;ud;p;pd;rj;cc) -rru Set reports. Each IAS Log Viewer report has one or two symbols code:
u-Usage; ud-Usage Details; p-Ports; pd-Ports details; rj-Rejects; cc-Concurrent Connects
If reports divided by ‘;’ selected types reports can be generated simultaneously.
You may define report columns with -rr(u:“FieldNames”;ud:“FieldNames”…)
where FieldNames is report columns divided ‘,’ list
-rod(+ -) -rod-
-roc(+ -) -roc-
-roxsl"PathToXSL" Set path to xsl stylesheet files. Link to xsl stylesheet can be
placed automatically in result xml files during xml report generation. This link
is <?xml-stylesheet type=“text/xsl” href=“PathToXSL”?> where instead of PathToXSL
must be parameter.
-rf"Filter" Set additional parameter that filter connects. Only filtered connects
will be used for report generation. For example, you can set filter
“Login Name like “%ray%”” and generate reports only for users that have “ray” text
in its logins.
-rc"ConfigurationName" Use configuration “ConfigurationName” for report generation.
Reports configuration allows saving the most frequently used reports parameters and
use them in future. Configuration setting, creation and modification performed in
visual mode using “Report wizard” dialog.
-rrcci"interval" Set interval for Concurrent report generation. Interval format is
[days] H:mm:ss”.

Examples:

  • “iasviewer.exe -ia -r” Reports generation by active log file. All parameters is taken from previous visual mode session of IAS Log Viewer.
  • “iasviewer.exe -ia -rru;ud -rd"c:\HTML Logs"" Usage,UsageDetails reports generation by active log file. Generated html reports will be placed in c:\HTML Logs\ folder.
  • “iasviewer.exe -ia -rp11/01/2003;11/03/2003 -rru;ud -rtxml -rdc:\XMLLogs”" Usage,UsageDetails report generation by active log file from 1-nov-2003 to 03-nov-2003. Generated xml reports will be placed in c:\XMLLogs\ folder.
  • “iasviewer.exe -ia -rp;pd -rd"c:\HTML Logs" -rthtml -rp"11/01/2001 13:35:00;11/28/2001 13:33:00” -rf"UserName like ‘ren%’ or UserName like ‘far%'"" Ports,PortsDetails reports generation by active log file from 1-nov-2001 13:35 to 28-nov-2001 13:33. Reports for users that has “ren” or “far” text in logins will be generated. Generated html reports will be placed in c:\HTML Logs\ folder.
  • “iasviewer.exe -i -rru;ud:“Start DateTime, user name”;cc -rd"c:\HTML Logs" -rrcci"1 0:00:00"" Usage,UsageDetails,Concurrents reports generation by log files that was opened in previous visual session of IAS Log Viewer. Usage Details report has 2 columns Start DateTime and user name. Concurrents report has one day interval. Generated xml reports will be placed in c:\XMLLogs\ folder.
  • “iasviewer.exe -i"C:\WINNT\system32\LogFiles\iaslog.log” -rc"TestConfiguration”" Reports generation by C:\WINNT\system32\LogFiles\iaslog.log log file. All reports parameters are taken from “TestConfiguration”.