Skip to main content

Source types

The type of a source says how data gets in. Everything else (fields, aggregate, charts, export) is the same for all of them. See Sources.

TypeData comes fromEdit entriesRead-only?
StoreYou: through the API and SDK (full create, read, update, delete), in the app, and by file uploadYesNo
PushYour systems, via HTTP pushDelete onlyNo
RabbitMQA queue on your own RabbitMQ broker, continuouslyNoYes
BigQueryA table in Google BigQuery, pulled periodicallyNoYes
CustomersYour customers, automaticallyNoYes
TransformAnother source, aggregatedNoYes

You create Store, Push, RabbitMQ and BigQuery sources yourself in the Insights app. The Customers source exists automatically. Transform sources are created from a table view.

Which one do I need?​

I want to…Use
Use a database for my app, or keep records I add and correct by hand and by codeStore
Upload a CSV or JSON file, and later upload moreStore
Report events from my backend (orders, logins, audit)Store (via API) or Push for high volume
Consume events from a message broker I already runRabbitMQ
Analyse data that lives in Google BigQuery (for example GA4 exports)BigQuery
Build charts on my customersCustomers (automatic)
Pre-aggregate a big source into a small oneTransform

Store​

The general-purpose, fully editable source. Every document can be created, read, updated and deleted directly through the API and SDK, so a store works as a database backend for your own apps, with charts, dashboards and queries on the same data for free. You can also edit entries in the app, and upload files again and again to extend it. See the dedicated page: Store source.

Push​

For systems that send data to Scenid.

  • Data arrives with POST /api/v2/source/{sourceId}/push or Source(name).push(docs). The call answers immediately ({ ok: true, queued: n }). Scenid validates and indexes in the background.
  • Only service tokens (your app) may push.
  • After creating the source, review the detected fields in the Data tab and start the import.
  • Default duplicate control is hash: sending the same document twice does not duplicate it.
  • Invalid values do not block anything. They are reported in the Warnings tab.
await sdk.asAdmin().Insights().Source('Sensor stream').push([
{ timestamp: new Date().toISOString(), deviceId: 'SENS-HH-01', temperature: 20.4 }
])

Use push when volume is high and you do not need the id of each document back. Use a Store source and Doc.create when you do.

RabbitMQ​

A continuous consumer for a queue on your own RabbitMQ broker. Nothing to build, no API to call. See RabbitMQ source.

BigQuery​

Pulls rows from a Google BigQuery table on a schedule (every five minutes by default) through a service account. Good for analytics exports such as GA4 (events_* tables).

SettingDescription
Dataset ID, Table IDThe table. Wildcards like events_* work
Service Account JSONKey of a service account with the roles BigQuery Data Viewer and BigQuery Job User. Stored encrypted
Cursor field (optional)A field for incremental fetching
Exclude tables (optional)Tables to skip, for example intraday_*

Nested BigQuery fields are flattened with dots. The connection can be edited later in the Connection tab. Documents are read-only in Scenid.

Transform​

A derived source. Take a table view in the Insights app, define grouping and aggregation, and Scenid keeps a new source up to date with the result, updating only the groups affected by upstream changes. Use it to pre-aggregate large sources for fast dashboards.

Compare the important details​

StorePushRabbitMQBigQuery
Write via API/SDKDoc.*, batchInsertpush, Doc.*NoNo
Edit entries in the appYesDeleteNoNo
File uploadYes, repeatedlyNoNoNo
Duplicate controlAutomatic or fieldHash or fieldHash or fieldHash
Read with aggregate, charts, exportYesYesYesYes