eureport-delete-data

Deletes report data generated before a specified date.

Syntax

eureport-delete-data -s start_date -e end_date
  [-d] [filename] [-F]

Options

Option Description Required
-s, --start-date start_date Inclusive start date for the deleted report data in YYYY-MM-DD format. For example, 2012-08-19. Yes
-e, --end-date end_date Exclusive end date for the deleted report data. For example, 2012-08-26. Yes
-d, --dependencies Include event dependencies from outside the requested time period. No
filename Path to the reporting data export file 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 detailing the number of data entries it deleted.

Example

eureport-delete-data -e 2012-11-06
Deleted 153415 reporting data entries.
x