Come join our live training webinar every other Wednesday at 11am PST and hear LogicMonitor experts explain best practices and answer common questions. We understand these are uncertain times, and we are here to help!
You can use LogicMonitor’s REST API to programmatically manage your dashboard widgets:
As with all of our API calls, authentication is required.
URI: /dashboard/widgets
All widgets have the following properties.
Additional fields apply to widgets depending upon their type, see the below sections:
All widgets of type alert (alert widgets) include an object extra that contains any UI display settings configured for the widget, and a filters object with the following fields.
All widgets of type batchjob (JobMonitor widgets) include the following fields.
All widgets of type bigNumber (Big Number widgets) must include an object bigNumberInfo with the following fields.
All widgets of type cgraph (Custom Graph widgets) must include an object graphInfo with the following fields.
All widgets of type deviceNOC (NOC widgets) include the following fields.
All widgets of type html (HTML widgets) include an object ‘resources’ with the following fields.
All widgets of type gauge (Gauge widgets) include the following fields.
All widgets of type gmap (Map widgets) include an object mapPoints, where each mapPoint has the following fields.
All widgets of type ngraph (pinned device level graphs) include the following fields.
All widgets of type pieChart (Pie Chart widgets) include an object pieChartInfo with the following fields.
All widgets of type serviceIndividualStatus (Service Individual Status widgets) include the following fields.
All widgets of type serviceNOC (Service NOC widgets) include the following fields.
All widgets of type serviceOverallStatus (Service Overall Status widgets) include a string serviceSelectMode set to either normal or group, and an object selectedServices with the following fields.
All widgets of type serviceSLA (service SLA widgets) include the following fields.
The following properties are specific to the deviceSLA widgets.
All widgets of type sgraph (graph pinned from the services page) include the following fields.
All widgets of type table (Table widgets) include three additional objects. A ‘columns’ object is included, where each column has the following fields.
And a ‘rows’ object is included, where each row has the following fields.
And a ‘forecast’ object is included, with the following fields.
All widgets of type text (Text widgets) must include a content field.
In This Article