Usage Tracking Commands

listspacesforusage

List the spaces that will be used in the getusage command. See Usage tracking for more information.

List the spaces that have been set up for usage tracking by chercking the Allow Usage Statistics Extracts box. These are the spaces you need to run the getusage command from in order to retrieve each space's usage tracking data.

getusage

Imports and publishes the usage information for all spaces in an account and put it into a Usage Tracking space for processing. Usage Tracking is a type of space available to Account Administrators. If the Usage Tracking spaces does not already exist, the command creates a new space. If the space does exist, the command updates and publishes the information. See Usage tracking for more information.

Note: You must use double quotes for space names. If your space name has whitespace or a space in its name, you must enclose the space name within double quotes.

By default, this command extracts the usage data. Optionally, you can specify a source to extract data from to extract usage data, space overview data, or both.

getusage usage_tracking_space_name from_date sources=usage,spaceOverview 

Example:

getusage "Usage Tracking for Account" 2015-01-01 
Note: The date format to use is 'fromdate' (yyyy-MM-dd) until 'todate' (yyyy-MM-dd). If you do not provide a "todate" parameter value, the current date is used to return all records to date.