Zoomdata Version

Using Zoomdata Upload API

You can use the Zoomdata Upload API connector to dynamically upload your data.

Configure this connector in the following way:

  1. Make sure MongoDB is up and running. For more information, see Managing Streaming Sources (Twitter, Kinesis, Upload API) .
  2. Get the cURL for your data source.
  3. Load your data to Zoomdata.
  4. Configure fields and charts settings.

Getting The cURL

To get the cURL, perform the following steps:

  1. Log into Zoomdata.
  2. Click the Sources menu item.

Figure 1

  1. Click the Upload API icon.
  2. Specify the name of your source and add a description (if desired). Click Next .

Figure 2

  1. On the API Endpoint page, configure cURL.

Figure 3

  1. Specify the following:
  • Login - enter the login to the instance where the data source will be created.
  • Password - enter the password.
  • Host - specify the host of the instance where the data source will be created.
  • Input JSON data you want to upload.

Click Generate cURL .

Loading the Data

  1. Copy the generated cURL from the Example Default cURL Request field.
  2. Open the terminal window. Paste the cURL and run it.
    The data source will be created and the data will be uploaded.
You can run this command to upload more data to the created data source.
  1. Click the icon and select Sources . In the My Data Sources section select the data source, that you have created. To configure fields settings, click Fields .

Configuring the datasource

You can edit the newly-created data source by customizing the Fields and Charts settings.

  1. Navigate to the Fields page, create unique label names for the available fields in your data source. These labels will be displayed in the charts. Specify the required name in the Label field. If necessary, change the Type and Default options. Select the checkboxes in the Distinct Count column to enable this option. Click Next to continue.

Figure 4

  1. On the Charts page, you can:
    • Edit Global Default Settings
    • Select the Standard and, if available, Custom chart styles to be used with the data source
    • Set default parameters  (group-bys, colors, sorting, etc.) for each chart style
    Learn more about how to customize a chart .

Figure 5

  1. ​Click Finish to save your changes.