Overview

Batch export functionality allows you to bring in data that has been generated by your platform or system into an overall collection of data for analysis and processing. It enables you to gather and utilize large amounts of data produced by your platform, enhancing your ability to analyze and derive insights from this information.

Partner users can configure batch exports for their clients. The partner can specify different category types for export. The feature allows you to export data for the clients either on demand or at scheduled intervals to Amazon AWS S3 and Microsoft Azure Blob Storage.

As a partner, you can use Batch Export API to schedule batch exports. Based on the export category type, the export is created for the clients.

If a batch export has been set up for a client or a group of clients using the Batch Export API, any attempt by the partner to create the export through the User Interface will fail to create it.

You can export the following category types for the clients:

Category TypeDescription
AlertsEach client alert list will be exported into cloud storage.
AuditEach client or All Clients audit data will be exported into cloud storage.
IntegrationsEach client / partner installed integration configuration data will be exported into cloud storage.
InventoryEach client-level inventory data will be exported into cloud storage.
MetricsEach client-level metric data will be exported into cloud storage.
TenantsUser can configure the export at partner level, and it displays partner details and all client details under the partner.
TicketsEach client-level ticket data will be exported into cloud storage.
UsageUsage collection data (metering usage data for billing purposes) will be exported at partner level into cloud storage.

The following batch export types for different data types are available:

Export TypeApplicable Data Type(s)Description
SnapshotInventory, Integrations, and TenantsThis data export provides a snapshot view of the data at the instance of export generation into the Amazon S3 bucket folder or Azure Blob storage.
IncrementalAlert, Ticket, Metric, Audit and UsageThe incremental batch export sends data for the past three months as the first batch export. Subsequent exports are incremental exports of updated records. You can schedule recurring or on-demand data export:
  • On-demand - Export provides a snapshot of the data at the time of the generation of the export.
  • Recurring - Export provides snapshots of the data at the chosen time.
When you request incremental data on-demand, the export generates a snapshot of the past three months.

Metric data export occurs every hour by default and cannot be customized. You can get metric data using the metric APIs.

Data is exported in JSON format. A list of failed exports is also provided if applicable.
The exported data content depends on the type and frequency of the export schedule, which determines the data items and quantity.

After exporting the data to the installed integrations, you can view the exported data on the platform, AWS S3 and Azure Blob.

Exporting data from OpsRamp involves installing an export integration and creating a data export.

Prerequisites

  • AWS S3 or Blob Storage integration has to be installed.
  • Create folders in the cloud storage integration: Amazon AWS S3 bucket storage.

How to Create a Batch Export?

Follow these steps to create a batch export:

  1. Select the Batch Export Add-on
  2. Install an Export Integration
  3. Configure a Batch Export

Step 1 - Select the Batch Export Add-On

Follow these steps to enable the Batch Export Add-on:

  1. Navigate to Setup > Accounts > Partners.
  2. Search for the partner and click on partner name.
  3. Click Edit.
  4. In EDIT PARTNER screen, click Add Ons tab.
  5. Select Batch Exports.
    Batch Export Add-on
  6. Click Save.

Step 2 - Install an Export Integration

Integrate with AWS S3 or Azure Blob to export the data to an AWS S3 bucket or an Azure Blob container.

Follow these steps to create an Export integration:

  1. Click Setup > Account.
  2. Select the Integrations tile. The Installed Integrations screen is displayed, with all the installed applications.
  3. If you do not have any installed applications, you will be navigated to the Available Integrations page. The Available Integrations page displays all the available applications along with the newly created application with the version.
    Note: Search for AWS S3 or Azure blob application using the search option available. Alternatively, use the All Categories option to search.
  4. Click +ADD.
  5. Based on the application, the fields are displayed. Enter the information in the fields.
  6. Click FINISH.

When creating a new batch export, this saved integration will be available in the Export to dropdown of the Configuration screen.

Refer the following links for more information on how to create AWS S3 bucket storage or Microsoft Azure Blob storage folders:

Step 3 - Configure a Batch Export

Follow these steps to configure a batch export:

  1. Click Setup > Account.

  2. Select the Integrations tile.

  3. The Installed Integrations screen is displayed, with all the installed applications.

  4. If you do not have any installed applications, you will be navigated to the Available Integrations page. The Available Integrations page displays all the available applications along with the newly created application with the version.
    Note: Search for Batch Export application using the search option available. Alternatively, search for Exports from All Categories option and select it.

  5. Click +ADD in Batch Export tile.

    Add Batch Export screen

  6. Enter the following information:

    Mandatory fields
    GENERAL DETAILS
    Field NameField TypeDescription
    NameStringUnique name of the export.
    Category TypeDropdownType of data to export: Alerts, Audit, Integrations, Inventory, Metrics, Tickets, Tenants, and Usage.
    Select clientDropdownClient for whom you want to export the data.
    For Audit Category Type, you have the option to select All Clients or a single client.
    New JSON/
    Old JSON
    Radio buttonThese options are displayed if you selected Category Type as Metrics.
    Select New JSON or Old JSON. The data will be exported in the specified format.
    Export toDropdownSpecify the integration: AWS S3 or Azure Blob.
    If the integrations are not available, you can create them:
    1. Click +ADD in the Export to dropdown.
      The ADD INTEGRATION window is displayed.
    2. Select Integration type from the dropdown.
    3. For AWS EventBridge
      1. Name: Enter the integration name.
      2. Access Key: Unique Identifier to access the AWS EventBridge.
      3. Secret key: Key generated from the AWS portal.
      4. Confirm Secret key: Secret generated from the AWS portal.
      5. Region name: Name of the cloud storage location.
      6. Event Bus Name: Event bus that receives the events from OpsRamp and AWS services.
      7. Event Source: Event pattern or text specified in the Rules section in EventBridge. Use this to filter the incoming events.
        Example: { "Source": [ "pattern" ] }.
      8. Detail Type: Parameter to do more filtering in EventBridge.
      9. Click ADD.

      For more information, see AWS Supported Services.

      For Blob Storage
      1. Name: Enter the integration name.
      2. Storage account name: Azure Blob account name.
      3. Secret access key: Access key generated from the portal.
      4. Confirm Secret access key: Reenter the secret access key.
      5. Container name: Name of the Azure container for the export data.
      6. Base URI: Data location in the container.
        Example: https://portal.azure.com.
      7. Click ADD.

      For more information, see Azure Blob Storage.
    Failure Export NotificationCheckboxIf you enable this option, you will receive a notification if the export fails.

    SCHEDULE

    Field NameField TypeDescription
    Schedule TypeSelectionSpecify the frequency of data generation:
    • ON DEMAND generates exports when a request is created or rerun.
    • HOURLY generates export data at a specified interval.
      Example: Every 6 hours.
    • DAILY generates export data daily at the specified time.
    • WEEKLY generates export data weekly on the specified day and time.
    • MONTHLY generates export data monthly on the specified day and time.
    Note: These options are displayed based on the Category Type selected.

  7. Click FINISH to apply the export and display export details.

The above note is only applicable for Metrics Category Type.

There is change in file name format. See View Metric Type Batch Export for more information.

View Batch Exports

You can view the configured Batch Export details in Setup> Accounts > Integrations > Batch Export.

View Batch Exports
Column NameDescription
NameName of the batch export.
StatusIntegration status.
Added OnDate and time details of the added account. Information about the user who added the account is also displayed.
Updated OnDate and time details of the modified account. Information about the user who modified the account is also displayed.

View Batch Exports on AWS S3

You can view the generated batch exports in an AWS S3 bucket in the corresponding folders. Example: The alerts export is stored in the alerts folder:

View Batch Export in AWS S3

AWS stores the export files in S3 folders in JSON format. The export file name has the following encoding:

Export Name Details
  • (a) schedule of batch export, recurring or on-demand
  • (b) batch export type
  • (c) unique client ID
  • (d) schedule starting timestamp
  • (e) schedule ending timestamp
  • (f) recurring export serial number

View Metric Type Batch Export

You can view the latest file format for AWS S3 metric batch export. The export file name has the following encoding:

Export Name Details

  • (A) schedule of batch export, recurring or on-demand
  • (B) batch export type
  • (C) unique client ID
  • (D) schedule starting timestamp
  • (E) unique id of the file
  • (F) unique timestamp of the file

View Batch Export on Azure Blob

You can view the generated data exports in the Azure Blob container in the corresponding folders:

View Batch Export in Azure Blob

Azure Blob stores the export files in Azure Blob containers in JSON format. The export file name has the encoding as shown in the following figure:

Export Name Details
  • (A) schedule of batch export, recurring or on-demand
  • (B) batch export type
  • (C) unique client ID
  • (D) schedule starting timestamp
  • (E) schedule ending timestamp
  • (F) recurring export serial number