Custom Data Streams

What is a Data Stream?

How to add a custom Data Stream

Generic Schema Reference

Specific Entry Point Reference

What is a Data Stream?

Data streams standardize data from all the different shapes and formats your tools use into a straightforward tabular format.

While creating a tile you can tweak data streams by grouping or aggregating specific columns.

Depending on the kind of data, SquaredUp will automatically suggest how to visualize the result, for example as a table or line graph.

Data streams can be either global or scoped:

  • Global data streams are unscoped and return information of a general nature (e.g. "Get the current number of unused hosts").
  • A scoped data stream gets information relevant to the specific set objects supplied in the tile scope (e.g. "Get the current session count for these hosts").

What is a custom Data Stream?

A custom data stream is a data stream that you, as an advanced user, can write yourself.

Any data stream you create can be edited by clicking the edit button (pencil) next to it in the tile editor, and also from Settings > Advanced > Data Streams.

How to add a custom Data Stream

  1. In SquaredUp, browse to Settings > Advanced > Data Streams.
  2. Click Add custom data stream.
  3. Add your custom data stream by entering the following settings:
    1. Name:
      Enter a display name for your data stream.

      The display name is the name that you use to identify your data stream in SquaredUp. It has no technical impact and doesn't need to be referenced in the data stream's code.

    2. Data source:
      Choose the data source this data stream is for.
      After you've chosen the data source the Entry Point field displays.
    3. Entry Point:
      Specify the data stream entry point and enter the Code below.
      To find out which entry point to select and get code examples for the Code field, see the help below.
  4. Click Save to save your data stream.

Generic schema reference

This section covers parameters that can be used in any entry point. For parameters that are specific to individual entry points see Specific Entry Point Reference

Specific Entry Point Reference

Many of the data streams in these examples can now be created easily using configurable data streams. The reference information below can also be useful editing data streams, because any data stream created using configurable data streams can be edited from Settings > Data Streams.

Was this article helpful?


Have more questions or facing an issue?