Eucalyptus Report Commands / Report Commands: Data Warehouse |
Generates a report from the data warehouse.
eucadw-generate-report -p password[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]
Option | Description | Required |
---|---|---|
-p, password | Administrator password you configured in the data warehouse installation. | Yes |
filename | Name of the file to output report data to. If you do not enter a filename, Eucalyptus generates report data to the console. | 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. Default: html |
No |
-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 |
None.
Eucalyptus returns a message stating that report was generated to the file you specified.
eucadw-generate-report -s 2012-11-05 -e 2012-11-07 --size-unit=b --size-time-size-unit=b -t instance Report2.html -p mypassword Exported data to Report2.html