Consumption Analytics Documentation

Home > Documentation for older versions > Cloud Cruiser 4 for HPE GreenLake Flex Capacity > Working in Cloud Cruiser > Onboarding FC customers > Configuring a new metering format

Configuring a new metering format

Table of contents
No headers

If necessary, as an advanced configuration you can configure a new metering format. You will need to do this if you are supporting a new type of service. (Existing services are 3PAR, blades, SAN, and so on.) The new service will generally have usage files with a new format. Contact Cloud Cruiser support for guidance when setting up a new service.

To configure a new metering format

  1. Generally, new files are automatically downloaded to the appropriate usage_files directory, such as 
    cc-working/usage_files/<customer_label>/<date>/decrypted. If files in the decrypted directory require pre-processing before they can be processed by the collector, add the required functionality to the script. For example, you might need to change the following activities:
    • Add a header row
    • Filter out data
    • Convert the file encoding
    • Break a file into multiple parts
  2. Create a data source for the new file format. This is done by navigating to Data > Setup > Sources and creating a new data source in the appropriate group. Generally, you will add a CSV/flat file, XML, JSON, or CC Record file (since the download process produces flat data files).
  3. Configure the data source:
    1. Name the data source, preferably with a name that matches the <category> parameter used by the email attachment, along with any additional identifying characteristics. For example: BL-Servers, 3PAR-ShowPDcols, StoreOnce, and so on.
    2. Define the Source, typically File.
    3. Define a File Name. This is a search pattern that finds all occurrences of new files, across all customers.
      For example, with the pattern: ${env.usageDir}/*/${env.selectDate}/decrypted/*.ShowPDcols, the collector will search the cc-working/usage_files/* hierarchy for all customer directories. Within those directories, any directories matching the run date will be searched (defined by ${env.selectDate}). Within these date folders, any folder matching decrypted will be searched. Finally, any files matching the pattern *.ShowPDcols will be read in by the collector.
    4. Add a description in the Comments field.
  4. Add a new collection to the _ProcessUsage workbook:
    1. In the workbook ribbon, select Collections > New.
    2. Select the Collector Type that matches the data source you added.
    3. Enter a Collection Name. All collections should start with the pattern Collect-
      For example: Collect-BL-Servers, Collect-3PAR-ShowPDcol, and so on.
    4. In the Data Source field, select your data source.
    5. Configure your collector. See Collecting, transforming, and publishing in the Cloud Cruiser 4 documentation.
Last modified


This page has no custom tags.


This page has no classifications.

 (c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP