Installation guide

138
Appendix A Command Line Tools
sgTextBrowser
[host=<Management Server address
[\Domain]>]
[login=<login name>]
[pass=<password>]
[format=<CSV|XML>]
[o=<output file>]
[f=<filter file> ]
[e=<filter expression> ]
[m=<current|stored>]
[limit=<maximum number of unique
records to fetch>]
[-h|-help|-?]
Displays or exports current or stored logs. This command is
available on the Log Server.
Enclose the file and filter names in double quotes if they contain
spaces.
host defines the address of the Management Server used for
checking the login information. If this parameter is not defined,
Management Server is expected to be on the same host where
the script is run. If Domains are in use, you can specify the
Domain the Log Server belongs to. If domain is not specified,
the Shared Domain is used.
login defines the username for the account that is used for
this export. If this parameter is not defined, the username root
is used.
pass defines the password for the user account used for this
operation.
format defines the file format for the output file. If this
parameter is not defined, the XML format is used.
o defines the destination output file where the logs will be
exported. If this parameter is not defined, the output is displayed
on screen.
f defines the exported filter file that you want to use for filtering
the log data.
e defines the filter that you want to use for filtering the log data.
Type the name as shown in the Management Client.
m defines whether you want to view or export logs as they arrive
on the Log Server (current) or logs stored in the active storage
directory (stored). If this option is not defined, the current logs
are used.
limit defines the maximum number of unique records to be
fetched. The default value is unlimited.
-h
, -help, or -? displa
ys infor
mation on using the script.
Table A.1 Security Management Center Command Line Tools (Continued)
Command Description