Configuring Data Streams in SquaredUp Console
By default, the following Data Streams are created while the Data Source is configured and created.
-
Alarms Count
-
Components by State
-
Historical Data
-
Live Measures
-
Open Alarms
Alarms Count
The configuration of Alarms Count is explained in detail in the Creating a New Dashboard on SquaredUp Console .
Though the graph displayed after configuring the Alarms Count widget is represented with the default color-coding of SquaredUp, you can alter the color-coding to represent the standard color representation of eG Enterprise.
To do so, once the widget is configured, you can expand the More Options a.k.a Vertical Ellipsis icon by clicking on it. From the drop-down that appears (see Figure 1), click the Edit JSON button.
Figure 1 : Clicking the Edit JSON button
Figure 2 then appears. Here, add the following code within the visualization block:
"palette": {
"minor": "#ccc100",
"major": "#fa9d1c",
"critical": "#cd0f0f"
}
Figure 2 : Adding the code block
Click the Save button to register the changes revealing Figure 3 where you can view the count of alarms in the target environment based on eG's color coding mechanism.
Figure 3 : Viewing the widget based on eG's color coding mechanism
Components by State
Use this widget to plot a graphical/tabular representation of historical data retrieved by the REST API query from the eG manager.
To configure the widget, do the following in the Edit mode of the dashboard that you are configuring:
-
Click the + button to add a new widget.
-
An empty widget will then appear. Select the Data button from the widget.
-
Now, pick the Data Source and then, pick Components by State as the Data Stream (see Figure 4).
-
Clicking the Done button in Figure 4 reveals Figure 5 which the components available in the target environment in the Data section.
Figure 5 : Data section revealing the components and the corresponding state
-
Now, select a visualization in Figure 5. For example, Figure 6 appears upon selecting the Bar tile in Figure 5.
-
Clicking the Save button saves the graph in the dashboard as shown in Figure 7.
Figure 7 : Viewing the Components By State graph in the dashboard
Historical Data
Use this widget to plot a graphical/tabular representation of historical data retrieved by the REST API query from the eG manager.
To configure the widget, do the following in the Edit mode of the dashboard that you are configuring:
-
Click the + button to add a new widget.
-
An empty widget will then appear. Select the Data button from the widget.
-
Now, pick the Data Source and then, pick Historical Data as the Data Stream (see Figure 8).
-
Figure 9 then appears where an additional Parameters field is displayed.
-
Clicking the Configure parameters option reveals Figure 10 where you are required to configure the widget based on the parameters for plotting the graph.
-
In Figure 10, specify the following:
-
Pick the Component Type.
-
Select the Component Name.
-
Select the name of the test from the Test Name list.
-
Pick the Descriptor if applicable for the test.
-
Choose the Measure for which you wish to plot the graph.
-
Select the Timeline of the graph.
-
-
Clicking the Done button reveals Figure 11.
Figure 11 : Selecting a visualization to portray the Historical Data
-
Selecting a Visualization from Figure 11 reveals Figure 12.
Figure 12 : Viewing the Configuration of Historical Data graph
You can even rename the X-Axis and Y-Axis labels based on your preference for easy understanding by choosing the appropriate options from the Visualization Tab.
-
Clicking the Save button will save the graph. Figure 13 displays the configured Historical Data graph in the dashboard.
Live Measure
Use this widget to plot a graphical/tabular representation of current/live data retrieved by the REST API query from the eG manager.
To configure the widget, do the following in the Edit mode of the dashboard that you are configuring:
-
Click the + button to add a new widget.
-
An empty widget will then appear. Select the Data button from the widget.
-
Now, pick the Data Source and then, pick Live Measure as the Data Stream (see Figure 14).
-
Figure 15 then appears where an additional Parameters field is displayed.
Figure 15 : The Parameters field for configuring the Live Measure graph
-
Clicking the Configure parameters option reveals Figure 16 where you are required to configure the widget based on the parameters for plotting the graph.
-
In Figure 16, specify the following:
-
Pick the Component Type.
-
Select the Component Name.
-
Select the name of the test from the Test Name list.
-
Pick the Descriptor if applicable for the test.
-
Choose the Measure for which you wish to plot the graph.
-
Select the Timeline of the graph.
-
-
Clicking the Done button reveals Figure 17.
Figure 17 : Selecting a visualization to portray the Live Measure graph
-
Selecting a Visualization from Figure 17 reveals Figure 18.
Figure 18 : Viewing the Configuration of Live Measure graph
You can even hide and rearrange the columns based on your preference by choosing the appropriate options from the Visualization Tab.
-
Clicking the Save button will save the graph. Figure 19 displays the configured Historical Data graph in the dashboard.
Open Alarms
Use this widget to plot a graphical/tabular representation of open alarms retrieved by the REST API query from the eG manager.
To configure the Open Alarms widget, do the following in the Edit mode of the dashboard that you are configuring:
-
Click the + button to add a new widget.
-
An empty widget will then appear. Select the Data button from the widget.
-
Now, pick the Data Source and then, pick Open Alarms as the Data Stream (see Figure 20).
-
Clicking the Done button reveals Figure 21.
Figure 21 : Selecting a visualization to retrieve the Open Alarms
-
Selecting a Visualization from Figure 21 reveals Figure 22.
Figure 22 : Viewing the Visualization options for Open Alarms
You can even hide and rearrange the columns based on your preference by choosing the appropriate options from the Visualization Tab.
-
Clicking the Save button will save the graph. Figure 23 displays the configured Historical Data graph in the dashboard.