Export Data from Netcore to Databricks

Send Netcore CE events to your Databricks workspace.

Overview

A Databricks export sends Netcore CE event data to a Databricks table. You choose the event, the fields, any changes to apply, and a schedule. The export has four steps: Setup, Data selection, Data customisation, and Schedule.

Pre-requisites

  • A Databricks account with a service principal. You need its Client ID and Secret key.
  • The Server hostname and HTTP path of your Databricks SQL warehouse.

Connect Databricks for Export

You create the connection once. Then you use it in your exports.

  1. Log in to the Netcore CE dashboard and navigate to Settings > Integrations.
  2. Under the Data warehouse category, select Databricks. An Integration panel opens.
  3. Under Integration type, select Export to Databricks.
  4. Click ADD INTEGRATION.
  5. Fill in the Basic details. See the table below.

Export Data to Databricks

  1. Click ACTIVATE. The button stays disabled until you complete the required fields.
Field nameDescription
Connection nameA unique name for this connection. Up to 100 characters.
AuthenticationOAuth M2M. Click View setup instructions for help.
Client IDThe client ID of your Databricks service principal.
Secret keyThe OAuth secret of your Databricks service principal.
Server hostnameThe hostname of your Databricks SQL warehouse.
HTTP pathThe HTTP path of your Databricks SQL warehouse.

A Steps to follow list on the same page repeats the setup notes. For where to find each value in Databricks, see Databricks.

Start a Databricks Export

  1. Log in to the Netcore CE dashboard and navigate to Settings > Data transfer.
  2. Click the Export tab, then click CREATE NEW. A panel titled "How would you like to start?" opens.
  3. Select Export data.
  4. Under "What would you like to export?", select Events.
  5. Click NEXT. A panel titled "Select a destination to export your data" opens.
  6. Click Databricks.

Start a Databricks Export

The Databricks event export wizard opens. Click FINISH LATER at any point to save your progress.

Step 1: Setup

Field nameDescription
Export titleA unique name for this export. Up to 80 characters.
ConnectionSelect your Databricks export connection. If none exists, click the Connection link to set one up.
PathSelect the path to use. This field activates after you select a connection.
CatalogSelect the catalog that receives the events.
SchemaSelect the schema in that catalog.
TableSelect the table that receives the events.
Alert emailSelect the email addresses that receive alerts about this export.

After you select a table, click PREVIEW to see sample records. Use it to confirm that you picked the right table.

Click NEXT. Click Learn more about Databricks data export at the top right to open the help page.

Step 2: Data Selection

This step controls what data Netcore CE sends. The Data preview panel on the right lists the fields. It updates as you make changes.

  1. Under Events, select Engagement or Behavioural. Then select the events.
  2. Select the Event schema: Standard or Consolidated.
  3. Review the Standard field(s). Netcore CE adds them by default.
  4. Optional: Turn on Additional details and select the fields to include.
  5. Optional: Turn on Filters and select the values to filter by.

Click NEXT.

Step 3: Data Customisation

This step is optional. Use it to change the data before Netcore CE sends it.

  1. Turn on the Transformation toggle.
  2. Click + ADD to create a rule.
  3. Select the transformation and the target field.
TransformationWhat it does
Mask fieldHides the value of a sensitive field.
Rename columnChanges the column name.
Field to stringConverts the field to a string.
Date formatChanges the format of a timestamp.

Click SEND TEST DATA to send a sample and check your setup. Then click NEXT.

Step 4: Schedule

  1. Select the start date and time.
  2. Select the end date and time. The export stops after this time.
  3. Select the Frequency, for example Daily, Weekly, or Hourly.
  4. Click SAVE or FINISH to activate the export.

Export Status and Monitoring

The Export tab of Settings > Data transfer lists every export. Each row shows the export title, its ID, a status badge, the destination, the frequency, and the total transfers.

Click the three dot menu on a row to open actions such as Duplicate, Pause, and Stop.

FAQs

How do I export Netcore CE events to Databricks?

Connect Databricks with the Export to Databricks integration type. Then go to Settings > Data transfer > Export, click CREATE NEW, and select Export data, Events, and Databricks. Complete the four steps.

Which authentication method does the export use?

The export uses OAuth M2M. You provide the Client ID and Secret key of a Databricks service principal.

Which event types can I export?

You can export Engagement and Behavioural events.

Can I change the data before it reaches Databricks?

Yes. In the Data customisation step, mask a field, rename a column, convert a field to a string, or change a date format.

Can I test the export before I start it?

Yes. Click SEND TEST DATA in the Data customisation step.

Can I schedule the export?

Yes. Set a start time, an end time, and a frequency in the Schedule step.

Can I save my progress and finish later?

Yes. Click FINISH LATER at any point in the wizard.

Related Pages


Did this page help you?