Sourcing Metrics from CSV Datasets

All Datasets created created from CSV files are saved in Metric Insights as SQL tables that can be used to source data for creating Metrics. This article describes how to use an existing Dataset as a Data Source for the Metric.

1. Create a New Metric

Access +New > Metric > Create New

  1. Measured: Select the Measurement Interval that applies to your element
  2. Name: Give the Metric a descriptive name
  3. Category: Assign the Metric to the Category
  4. [Next: Define Details]

2. Complete the Data Tab

  1. Data Source: Select the "Datasets (SQL) - Default MySQL dataset storage" option. That is the storage where all the CSV Datasets are kept
  2. Data collection trigger: Choose the Trigger from the drop-down menu
  3. Click Source of Reports button
  4. Available Datasets: Select the CSV Dataset you need
  5. Use the Table name for the SQL Statement code
  6. [Validate]
  7. [Collect Data]

Once the data is collected click [Enable & Publish].

To learn about other settings in the Metric Editor, refer to: Metric Editor (Data, Stoplights, Alerting, Charting, Associations)