eureport-generate-report

Generates a report from the CLC.

Syntax

eureport-generate-report [filename] [-t report_type] 
  			[-f report_format] [-s start_date] [-e end_date] 
  			[--size-unit size_unit] [--time-unit time_unit] 
  			[--size-time-size-unit size_time_size_unit]
  			[--size-time-time-unit size_time_time_unit] [-d] [-F]

Options

Option Description Required
filename Path to the resulting reporting file. No
-t, --type report_type Type of report to generate.

Valid values: elastic-ip | instance | s3 | snapshot | volume

Default: instance

No
-f, --format report_format Format of report generate.

Valid values: csv | html

Default: html

No
-s, --start-date start_date Inclusive start date for the exported data in YYYY-MM-DD format. For example, 2012-08-19. Yes
-e, --end-date end_date Exclusive end date for the exported data in YYYY-MM-DD format. For example, 2012-08-26. Yes
--size-unit size_unit The level of granularity for reporting metrics by size alone.

Valid values: b | kb | mb | gb

Default: gb

No
--time-unit time_unit The level of granularity for reporting interval.

Valid values: seconds | minutes | hours | days

Default: days

No
--size-time-size-unit size_time_size_unit The level of granularity for reporting size metrics for the time interval.

Valid values: b | kb | mb | gb

Default: gb

No
--size-time-time-unit size_time_time_unit The level of granularity for reporting size metrics for the time interval.

Valid values: seconds | minutes | hours | days

Default: days

No
-d, --dependencies Include event dependencies from outside the requested time period. No
-F, --force Overwrite output file if it exists. No

Common Options

Option Description
--show-empty-fields Show empty fields as "(nil)".
--region user@region Region and/or user name to search when looking up config file data. Only valid for EC2 endpoints.
-U,--url url URL of the cloud service to connect to. For administrative commands, this should be <ip_address>:8773/services/Empyrean.
-I,--access-key-id key_id User's access key ID.
-S,--secret-key secret_key User's secret key.
--security-token token User's security token.
--debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error.
-h,--help Display the manual page for the command.
--version Display the version of this tool.

Output

Eucalyptus returns a message stating that report was generated to the file you specified.

Example

eureport-generate-report -s 2012-11-05 -e 2012-11-07 --size-unit=b --size-time-size-unit=b -t instance Report2.html
Exported data to Report2.html
x