Creating a new dashboard
Now, we have everything we need to begin building some dashboards with repeating rows and panels. Observe that the data fields group roughly into four major types:
- Call type: (
Category
andRequestType
) - Responsibility: (
PoliceDistrict
,ResponsibleAgency
, andSupervisorDistrict
) - Location: (
Address
,Neighborhood
,Street
,Latitude
, andLongitude
) - Date: (
Opened
,Closed
, and@timestamp
)
What we will do here is create a series of dashboards, each one dedicated to a Responsibility
entity. Each dashboard will be split into two-column panels, one for each Call
type. We will then allow the user to decide the Group By terms for the panel queries. We’ll need to create several template variables to drive the dashboard, but once they’re created, things should fall into place. Let’s get started!
First, we will need to create a dashboard. On the dashboard, we’ll create some template variables.