Widget use cases when creating a new widget.
Average Time to Close Incidents per Day
In this example we want to create a bar chart widget that shows the following:
The average time it takes to close incidents per day
Classified according to incident types
Incidents that occurred during the previous seven days
In the Widgets Library click the add button.
Select Incident data.
In the Query tab, define the following:
Data Type: Incidents
Data query:
-category:job and -status:Closed.
Time frame: Last 7 days
Type:
Bar chart
In the Operations tab:
Change Count to Average.
From the dropdown list, select Custom calculations on fields.
Type
remediationsla.startDate-detectionsla.startDate
Group by: Data Occurred
Second Group by: Type
How Many Incidents Occurred in the Last 7 Days
In this example, we want to view the following data:
How many incidents occurred in the last 7 days
Closed vs not closed (pending or active)
Line chart.
In the Quick Chart definitions window, use the following data:
In the Operations tab, the first group is
Date Occurred
.In the second group, from the dropdown list, select
status
.Click Custom Group by to add the following data:
Average Time for Open Incidents That are Late
In this example, we want to create the following incident type widget:
The average time for open incidents that are late.
Grouped by two groups (group A and group B) and by type.
In a Bar Chart
In the Query tab, type:
In the Operations tab, add the following information:
In the Values section, select Average.
From the dropdown list, click Custom calculations on fields.
Type
{now}-remediationsla.dueDate
.We want to see the average time that incidents are late (from today’s date). We add a variable
{now}
, so that we do not have to change the date.In the Group by field, select Owner and then click Custom Group by.
Add the following information:
Select the Create and display a group for all remaining values checkbox.
We have additional users that are not in the groups that we want to see.
In the second group by field, from the dropdown list, select Type.
In the Visuals tab, select the following:
Horizontal options - Axis name:
TEAM
.Vertical options - Axis name:
REMEDIATION TIME
.