Transferring data to Qlik Sense
This guide explains how to transfer data to Qlik Sense to store and further process information.
Concept
Qlik Sense is a passive destination. Qlik Sense pulls data from Adverity when you request it in the Qlik Sense user interface. When you collect data from the datastream, it is not actively pushed to Qlik Sense. For more information, see Destination types.
Prerequisites
Before you complete the procedure in this guide, perform all of the following actions:
-
Create a datastream whose data you want to transfer to Qlik Sense. For more information on creating a datastream, see Introduction to collecting data.
-
Apply the correct Data Mapping for your datastream. For more information, see Introduction to harmonizing data.
-
Find your authentication token to the Management API. For more information, see Authorizing Management API.
-
Using the Management API, find the ID of the datastream from which you want to transfer data to Qlik Sense. For more information, see Listing datastreams of a specific type.
Procedure
To transfer data from a datastream to Qlik Sense, create a REST connection in the Qlik Sense user interface with the following configuration. For more information on creating a REST connection in the Qlik Sense user interface, see the Qlik Sense documentation.
-
In URL, write the following:
https://{{INSTANCE}}/api//datastreams/{{DATASTREAM_ID}}/extracts/most-recent/download/
Replace
{{INSTANCE}}
and{{DATASTREAM_ID}}
with the values you found using the Management API. -
In Method, select GET.
-
In Key generation strategy, select No keys.
-
In Authentication Schema, select Anonymous.
-
In the Query headers section, write the following:
-
In the Name field, write
Authorization
. -
In the Value field, write
Token {{TOKEN}}
. Replace{{TOKEN}}
with your authentication token to the Management API.
-
-
Select the Allow response headers checkbox.
As a result, you created a REST connection in the Qlik Sense user interface. Use this REST connection to transfer data to Qlik Sense. The data transferred is always the most recent data extract from the datastream.