Creating Usage Data Export Schedules - m3ter Documentation

Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

When you have created some Export Destinations using S3 buckets in your AWS account or using buckets in your Google Cloud Storage account, you can set up Export Schedules to perform usage data exports to those destinations from your m3ter Organization. You can specify an hourly or daily frequency for these exports to run. This topic explains how to work with and create Export Schedules for exporting usage data from your Organization at regular intervals:

Note and Tips:

Working with Usage Data Export Schedules

This section explains how the Data Export service will compile and run usage data exports according to the various options available to you when setting up your usage data Export Schedules:

Important! Please review this section before setting up any usage data Export schedules to understand the various options you can use to ensure the exports contain the correct usage data to serve your specific needs.

Data Export Service - Timezone Used

The Data Export service uses UTC and this is not affected by the Timezone you’ve set for your Organization.

When Export Schedules are Run

When you’ve completed the configuration for an Export Schedule and select to create it:

Export File Format and Composition

The range of usage data and the way it is compiled will depend on several options which allow you to control closely what the export file will contain.

File Format

The available data exports file formats are .CSV or JSONL.

Time Period

You can define a Time period when creating a usage data Export schedule to control the range of data you want the data export to contain each time it runs according to the schedule. Options:

Meters and Accounts

You can select Meters and Accounts in your Organization for the export. The usage data export file will then contain only the usage data collected for those Meters and Accounts:

Dimension Filters

You can filter the usage data returned for export by adding specific values of non-numeric Dimension data fields on included Meters. Only the data collected for the values you’ve added for the selected Dimension fields will be included in the export.

Aggregations

You can apply Aggregation functions to the usage data returned for export.

Group By

If you’ve applied Aggregation functions to the usage data for export, you can then select to group the data returned for export by:

Important: Applying Aggregations and Grouping for Usage Data Exports! If you intend to apply Aggregations to usage data returned for export and apply grouping to the aggregated data, please ensure you review the Applying Aggregations for Queries section first. The functionality used by the Data Export service when you set up a usage data export and aggregate the data is the same as used by the Usage Data Explorer (v2) for querying usage data.

Maximum Results and Output File Sizes

Data Exports can contain up to 500,000,000 records, and the file size limit is determined by the file size limit imposed by your destination.

Creating Usage Data Export Schedules

You can quickly set up Export schedules for data exports containing usage data collected for your Organization. Usage data exports contain the usage data measurements ingested into m3ter for the selected Meters and Accounts covering the specified time period.To create a Usage Data Export Schedule:

  1. Select Data exports:

The Data exports page opens and lists any existing Export schedules:

  1. Select Create export schedule. The Create page opens.
  2. Enter the Export schedule details:
  1. Set up the Export schedule:

The data export will be scheduled to run immediately when you create it and then at the defined frequency.

Warning! Limits are imposed:

  1. Enter the Export data:
  1. If you want to use Dimensions filters for the usage data included in the export, select Add dimension filter. A menu appears and lists any Dimension fields for Meters selected for the export:
  1. Select the Meter Dimension field you want to use to filter the data returned for the export. For the current example, we’ll select RevGraph Meter 1 > Customer Name. A dialog replaces the menu, which lists values used for this field when usage submissions were made for the Meter within the selected Time period.
  2. Check the values used for the selected Meter Dimension field you want to use to filter the data returned for the export and then select Add filter:

The dialog closes and the select Dimension field values are added under Dimension filters:

  1. If you want to apply Aggregations to the usage data returned for export, under Aggregations, select Add aggregation. A menu listing available aggregation methods appears:

  2. Select the Aggregation method you want to apply. For example, select Sum. A dialog replaces the menu and shows the fields on the Meters selected for the export which can have this aggregation method applied:

  3. Select the Meter data field you want to apply the Aggregation method to. The selection is added under Aggregations.

  4. Repeat steps to apply any other Aggregations for the usage data export: For the current example, we’ve applied a Sum Aggregation to both of the numeric data fields on the selected Meter.

  5. If you’ve applied Aggregations to the returned usage data for export and you want to group the data, under Aggregations, select the grouped by plus icon. A menu appears:

In the current example, we select to group by a Meter Dimension. The menu is replaced by a dialog showing the available Dimensions on the Meter:

  1. Select the Dimension you want to group the data by. The dialog closes and your grouped by selection is added under Aggregations.
  2. When you have entered all details, select Create export schedule. The Export schedule details page opens:
  1. Return to the Data exports page where the new schedule is listed on the Export schedules panel: