- Sun Storage Virtual Tape Library VTL User Guide

Event Log
224 VTL User Guide May 2008 G • 96267
EventLog
GetEventLog
iscon geteventlog -s <server-name> [-u <username> -p <password>]
[-D <date-range>] [-F <fileFormat>] [-o <filename>] [-H] [-f] [-X <rpc-
timeout>]
iscon geteventlog --server-name=<server-name>
[--server-username=<username> --server-password=<password>] [--date-
range=<date-range>] [--file-format=<fileFormat>] [--include-heading] [--
output-file=<filename>] [--force]
[--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d getstheeventlog.
D(‐‐date range)isthestartingdate/timeandendingdate/timeinthefollowing
format:
YYYYMMDDhhmmssYYYYMMDDhhm mssorYYYYMMDDhhmmss
F(‐‐fileFormat)isoneofthefollowingformats:csv(default)ortxt.
H(‐‐includeheading)istheoptiontoincludetheeventlog
dataheading.
o(‐‐outputfile)is thefullpa thofthefilenametosavetheeventlogdata. Ifan
outputfilenameisnotspecified,thedefaultfilenameis:eventlogYYYYMM DDhh
mm<servername>[.#]
[.#]istheadditionalsuffixwhenthereisaduplicate.
Specifythe‐f(‐‐force)
optionif youwanttooverwritetheexistingfileiftheoutput
filealreadyexist s.
X(‐‐rpctimeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountof time
specifiedifthe
serverdoesnotrespond.ThedefaultRPCtimeoutis30seconds.