Dashboard
This is probably where you are going to spend all of your time. Our Engine allows anyone to create beautiful visualizations of what is happening in the system. I know that we did not explain Components yet, but imagine dashboards as your everyday place where you can visualize all your infrastructure. Monitor everything in the same place, and watch in real-time your AI algorithms in action. For example, let's say you already have algorithms ingesting data from 100 sensors of your company (we are going to learn how later) and for 50 of them you have an algorithm running that is predicting how the variables are going to behave in the next 12 hours (Forecasting). Then you can configure a dashboard to show you in real-time all the 100 measurements and also the forecasted values output by the algorithm. You can do so much more, start playing with it!
Creating a Dashboard
To create a dashboard you need to specify the following parameters:
name
The name of the dashboard.
Yes
description
A description of the dashboard.
No
assets
Assets to be associated with the dashboard.
No
tags
Tags to be associated with the dashboard.
No
Reading a Dashboard
The Splight API offers a robust set of endpoints for reading alert data. You can retrieve information about all alerts or filter them using specific criteria. The API supports various query parameters to help you refine your search.
Below are some examples of how to read alerts using the API, with code snippets in both curl and Python:
Listing all Dashboards
Retrive a single Dashboard
Updating a Dashboard
Deleting a Dashboard
Creating a Tab
To create a tab, you need to specify the following parameters:
name
The name of the tab.
Yes
dashboard
The dashboard to which the tab belongs.
Yes
order
The order of the tab in the dashboard (optional).
No
Reading a Tab
The Splight API offers a robust set of endpoints for reading tab data. You can retrieve information about all tabs or filter them using specific criteria. The API supports various query parameters to help you refine your search. Below are some examples of how to read tabs using the API, with code snippets in both curl and Python:
Retrive a single Tab
Updating a Tab
To update a tab, you can use the tab ID in the URL and specify the fields you want to update in the request body.
Deleting a Tab
To delete a tab, you can use the tab ID in the URL.
Creating a Widget
To create a widget, you need to specify the following parameters:
name
The name of the widget.
tab
The tab to which the widget belongs.
type
The type of the widget (e.g., bar, line, timeseries)
chart_items
The items to be displayed in the chart.
value_mappings
Value mappings for the widget.
thresholds
Thresholds for the widget.
display_time_range
Whether to display the time range.
labels_display
Whether to display labels.
labels_aggregation
The aggregation method for labels.
labels_placement
The placement of labels.
refresh_interval
The refresh interval for the widget.
timestamp_gte
The start timestamp for the widget.
timestamp_lte
The end timestamp for the widget.
height
The height of the widget.
width
The width of the widget.
position_x
The x position of the widget.
position_y
The y position of the widget.
min_width
The minimum width of the widget.
min_height
The minimum height of the widget.
Reading a Widget
Retrive a single Widget
Updating a Widget
To update an widget, you can use the widget ID in the URL and specify the fields you want to update in the request body.
Deleting a Widget
To delete a widget, you can use the widget ID in the URL.
Last updated
Was this helpful?