Data tagsThis article assumes you've already set up a data source (including variables) and defined data tags. Please click the links for more information if you haven't yet.
Data reports show your historical data. A data report supports five types of widgets to give you clear insight in your historical data. You don't need to set up a VPN connection to view data reports.
The logged data impacts your Cloud Logging credit (data points per hour). Visualization in a data report does not affect this credit.
This article shows how to:
Additionally, all widget formulas will be explained at the bottom of this page.
Add a data report
Multiple data reports can be created for a single device, where each data report can suit a different purpose, depending on the information you need. The next steps show you how to create a data report.
- Go to [Devices] in the main menu, select the concerning device, open its [Apps] tab, and [Open] the Cloud Logging app.
- Go to the [Dashboards] pageand press [Add new dashboard].
- Select your dashboard type: [Data report].
- Name the data reportand press [Add].
Once a data report is created, you can find it in the [Info] tab below the VPN section.
First you set a layout for the data report, which you can later change or expand. Once the layout is set, you can start adding widgets to the data report.
You have the option to create a new layout or select a preset layout. In this example we will create a new layout.
You will see an empty data report in which you will be able to customize the layout in multiple ways. The [+]will add a new field. The location of the new field depends on the current orientation, which you can change by pressing the [Change layout] button. If it shows as [=], a new column will be added. If it shows [lll] instead, a new row will be added.
You can divide a single field into multiple fields. This enables you to configure custom layouts, i.e. 2 smaller fields on the left and 1 large field on the right. You can do this by selecting [Layout] in the concerning field. You can add multiple fields by pressing the [+] button as many times as you like. Additionally, you can use the [Change layout] button, like before, to change the orientation from rows to columns, or vice versa.
Once the layout is set, you can start adding the various widgets to visualize the data. For data reports five types of widgets are available. In this chapter we will show you the functions of every single type of widget. The next steps show how to add a widget.
- Press [Widget]and select a widget type.
- Once the widget is created you will be able to view the widget by pressing [View].
All five widgets are explained in detail below.
|Shows the value of a single data tag that is configurable by factor and formula. The image on the right shows how a value will be displayed and the image below explains the different settings in the edit value widget page.|
|Shows historical data of one or more data tags in a table form. The image on the right shows an example table widget and the image below explains the different settings in the edit table widget page.|
The list below contains descriptions of all formulas that you can apply to a data tag in the various widgets.
|Min:||Shows the minimum logged value in the displayed time period.|
|Average:||Shows the average of all the logged values in the displayed time period.|
|Max:||Shows the maximum logged value in the displayed time period.|
|First:||Shows the first logged value in the displayed time period.|
|Median:||Shows the middle logged value in the displayed time period.|
|Last:||Shows the last logged value in the displayed time period.|
|Mode:||Shows the most common value in the displayed time period.|
|Range:||Shows the difference between the minimum and the maximum logged value in the displayed time period.|
|Sum:||Shows the sum of all the logged values in the displayed time period.|