Configuration Mode Commands : SteelCentral Controller for SteelHead Commands : SCC Export Commands : export statistics
  
export statistics
Exports statistical information for SCC managed appliances to a remote email address or SCP/FTP location.
Syntax
export statistics [appliance <serial number>] [group <group>] report-format <options> [granularity <options>] {period <options> | start-time <start-time> end-time <end-time>} report <report-name> [direction <direction>] [per-appliance] [port <port-number>] [qos-classes {all | default}] [data {sent |dropped}] [response-type <options>] [type {both | optimized | passthrough}] [units <size>] [inboundids {all | default}] [outboundids {all | default}] [symmid <id>] [rdfgroup <group>] [filer <name>] [lun <lun>] [lid <id>] [iid <id>] [lunReportName <name>] [initReportName <name>] [blockReportName <name>] {to-email <email-address> | to-file {<scp://username:password@hostname/path/filename> | <ftp://username:password@hostname/path/filename>}}
Parameters
appliance <serial number>
Specifies the serial number of the target appliance. Use a comma to separate different appliance serial numbers if there is more than one target appliance.
group <group>
Specifies the name of the target group. Use a comma to separate different target groups if there is more than one target group.
report-format <options>
Specifies report type format. Each report format has the following options:
•  html - Creates an HTML report that contains images.
•  csv - Creates a CSV report that includes actual statistical samples.
•  pdf - Creates a PDF report that contains images.
granularity <options>
Specifies the granularity of the specified report. Each granularity format has the following options:
•  300 - Exports 5-minute samples.
•  3600 - Exports 1-hour samples.
•  86400 - Exports 1-day samples.
For the best accuracy, Riverbed recommends that you do not specify this option. When you specify the granularity, data is gathered only from specified samples. This sampling can produce coarse reports if granularity is too low (such as one day) or very large data reports if granularity is too high (such as 5 minutes). If this option is not specified, the system automatically chooses the best combination for reporting.
period <options>
Specifies the period for which to generate a report. Each period format has the following options:
•  month - Exports last months statistics.
•  week - Exports last weeks statistics.
•  day - Specifies the day for the export.
•  hour - Specifies the hour for the export.
•  last_calendar_month - Specifies the last calendar month.
•  last_calendar_week - Specifies the last calendar week.
•  last_calendar_day - Specifies the last calendar day (yesterday).
start-time <start-time>
Specifies the start time for reporting statistics in the format 'YYYY/MM/DD HH:MM:SS'.
end-time <end- time>
Specifies the end time for reporting statistics in the following 'YYYY/MM/DD HH:MM:SS'.
report <report- name>
Specifies the report names that you want to export. Use a comma to separate the different report names. For a complete list of report names available, see the CLI help.
direction <direction>
Specifies the direction of traffic to include in statistics for various reports such as Throughput and BW Optimization reports. Choices are:
•  in - WAN-to-LAN traffic
•  out - LAN-to-WAN traffic
•  both - bidirectional traffic
per-appliance
Specifies one graph per appliance. This option creates a report graph for each specified appliance in the appliance parameter and for each appliance that is part of the group specified by the group parameter.
port <port-number>
Specifies the port that you want to create a report about. Use a comma to separate the list of ports if there is more than one port.
qos-classes {all | default}
Accepts QoS classes for which QoS reports need to be exported. The options are all and default. This option is only required for QoS reports.
data {sent |dropped}
Specifies data for QoS reports. The data options are sent and dropped.
response-type <options>
Specifies response types for NFS.
The response-type options are: all, local, remote, and delayed.
type <options>
Specifies traffic type for the Traffic Summary report. The type options are:
•  optimized - optimized traffic
•  passthrough - passthrough traffic
•  both - both optimized and passthrough traffic
units <size>
Specifies statistics size. Use this option for reports such as Connection Forwarding, QoS Stats (Sent/Dropped), and so on. The units options are: bytes, bits, packets.
inboundids
Specifies a comma separated list of inbound QoS classes. The class options are:
•  all - all classes
•  default - default class
outboundids
Specifies a comma separated list of outbound QoS classes. The class options are:
•  all - all classes
•  default - default class
symmId <number>
Specifies the SRDF Symmetrix ID number.
rdfGroup <number>
Specifies the SRDF ID group number. This option is only available if symmId is specified.
filer <name>
Specifies the filer name used for SnapMirror optimization. A filer is a NetApp storage device.
lun <lun>
Specifies the LUN.
lid <id>
Specifies the LUN ID.
iid <id>
Specifies the initiator ID.
lunReportName <name>
Specifies the LUN I/O report name.
initReportName <name>
Specifies the initiator I/O report name.
blockReportName <name>
Specifies the block store report name.
to-email <email-address>
Exports the report to the specified email address.
to-file < scp://username:password@hostname/path/filename>
Specifies a SCP/FTP URL. The exported file is always a compressed zip folder ending with a .zip extension. For example, if the user is scheduling a recurring job to export reports to a URL, it is recommended that the user specify the URL as a directory name, and not a file name, to prevent overwriting of a previously exported file.
amnesiac > #export statistics group Global report-format html to-file scp://username@servername/path/to/filename
amnesiac > #export statistics group Global report-format html to-file scp//username@servername/path/to/directory
Example
Per-Appliance Reporting
If the group Global contains appliances APP1 and APP2, the following example exports one Data Reduction report with separate graphs for both APP1 and APP2:
amnesiac # export statistics group Global period week report-format pdf report dataReduction per-appliance to-email someone@emailaddr.com
 
The following example exports one Data Reduction report for both APP1 and APP2:
amnesiac # export statistics group Global period week report-format html report dataReduction to-email someone@emailaddr.com
 
Per-Port(s) Reporting
The following example creates and exports four graphs in the Data Reduction Report: APP1 for port 21, APP1 for port 443, APP2 for port 21, and APP2 for port 443:
amnesiac # export statistics group Global period week report-format html report dataReduction per-appliance port 21,443 to-email someone@emailaddr.com
 
Exporting a Report to a Remote File
The following example exports a report in PDF format to a remote file:
amnesiac > # export statistics group company1 report-format pdf to-file scp://username@servername/path/to/dnsdata
Reports will be exported as a compressed file
Product
SCC
Related Commands
Displaying SCC Information