This parameters group allows starting data export using command line without visual mode of IAS Log Viewer.
Option | Default | Description |
---|---|---|
Option | Default | Description |
-es(r|c) | -esc | Set export data type. IAS Log Viewer can export records (parameter -esr) or connects (parameter -esc). |
-et(xml|csv) | -etxml | Set result data type. IAS Log Viewer can export data in xml or csv formats. |
-edFileName | Set file name where data will be exported. If you specify a path or file name that contains spaces after a switch, enclose the path in quotation marks. |
|
-ef"Field[,Field]"|v | Set export fields list and its order. -efv parameter must be used for getting fields list and order from visual mode. |
|
-eodChar | -eod; | Set data separator symbol for export in csv format. |
-eoh(+|-) | -eoh+ | On/off header with field names for export in csv format. |
-ep(FromDate;ToDate|Setting|LastHours) | -epalldata | Set dates interval. Only data that match this interval will be export. 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. |
-er"Filter" | Set additional parameter that filter connects. Only filtered connects being exported. For example, you can set filter “Connect Result = ‘Rejected’” and see rejected connects in result file only. |
Examples:
- “iasviewer.exe -ia -edc:\connects.xml” Connects export in xml format from active log file into c:\connects.xml file.
- “iasviewer.exe -ic:\IASLogFiles -esc -etcsv -edc:\connects.csv” Connects export in csv format from folder c:\IASLogFiles into file c:\connects.csv.
- “iasviewer.exe -i"C:\WINNT\system32\LogFiles\iaslog.log” -edc:\connects.xml -ef"Login Name, Duration, Input Octets, Output Octets"" Four fields export from file C:\WINNT\system32\LogFiles\iaslog.log in xml format into c:\connects.xml file
- “iasviewer.exe -ia -edc:\connects.xml -eptoday” Current day connects export in xml format from active log file into c:\connects.xml file.
- “iasviewer.exe -ia -edc:\connects.xml -ep"01/01/2005;01/15/2005"" Connects export in period of time from 01/01/2005 to 01/15/2005 in xml format from active log file into c:\connects.xml file.
- “iasviewer.exe -ia -edc:\connects.xml -ep"01/01/2005 3:00:00;01/15/2005 23:00:00"" Connects export in period of time from 01/01/2005 3am. to 01/15/2005 11pm.in xml format from active log file into c:\connects.xml file.