Attention! The Google BigQuery integration has to be enabled to use this feature.
SegmentStream can download feeds in NDJSON format and export their content into Google Big Query.
The feeds should be generated by the customer’s back-end in accordance with the requirements:
- Newline Delimited JSON file format (http://ndjson.org/)
- Feed must be available at a specific URL, for example: https://website/feed.txt
- Access by URL must be closed using the basic auth method.: https://en.wikipedia.org/wiki/Basic_access_authentication
Our system sends the date GET parameter when requesting a feed. You can use it to generate data for a specific date. The date parameter should be of the YYYYMMDD format.
Connecting and configuring
The process of connecting data sources is described in detail in the overview.
In order to enable this data source, go to “DATA IMPORT → Automatic” (1), select the data source (2), enter login (3), enter password (4) and save (5)
Configuring data source
Enter a title for the data source (1).
Feed URL (2) - the address of the file you generated (the requirements for the file contents are listed below)
Destination table name (3) - the name of the table in BigQuery to which the data from the file will be written.
Partition table by date (4) - if this option is enabled, a new table with new content will be created every day. Otherwise, the data will be overwritten every day.
To save and enable the data source, click “Save” (5).
The “Disconnect” button (5) is used to revoke the authorization data. The settings are saved.
You can enable or disable the data source at any time (6).