Documentation

Managing Default (Consolidation) Queries

Abstract

SummaryA basic overview of the types of scheduled queries and specifics on working with default (or Consolidation) queries using various API endpoints.

With Alooma there are two types of queries, both of which are scheduled: Consolidation (aka default) and Custom scheduled queries. For more information about queries see Queries. Here, we'll focus on default (consolidation) queries.

Query functions

Just like with all other API work, it all begins with authenticating and getting an API instance. Once you have an API Instance, you can get a list of query objects as well as create/schedule/delete them by defining and then using the endpoints/functions below.

Creating default (consolidation) queries for webhook-based inputs

For most inputs, you create a consolidation query by passing a configuration to schedule_default_query. For some webhook-based inputs, you'll also need to define custom_variables for the schedule_default_query call. These inputs include:

Custom Webhooks

iOS/Android App

Java App

JavaScript App

Python App

An example of creating a default query (consolidation) for a webhook-based input in Redshift: