Skip to main content

Build a dashboard

This page shows how to create a dashboard, install a ready-made one, and add, arrange and change its widgets.

Role needed: Dashboards: Set to create, install and edit. Dashboards: Delete to delete a dashboard or a widget. Configuring a widget also runs its query, which needs Search: Read (and Cases: Read when the query reads Cases). You see and edit the dashboards you created. An administrator account sees and edits them all.

Create a dashboard​

  1. Select Dashboards in the navigation menu, then Create dashboard.
  2. In Create New Dashboard, enter a Dashboard Title. It is required. Optionally enter a Description, a Category and Tags. In Category you can pick an existing category or type a new name and press Enter.
  3. Select Create.

The editor opens on the new, empty dashboard. Add widgets as described below. When you are done, select Save to see the finished dashboard.

Install a ready-made dashboard​

The catalogue holds ready-made dashboards for Cases, network traffic, identity, security tools, system health, MITRE ATT&CK and other topics. They include monitoring dashboards for firewalls, networks, databases, critical servers, Office 365, network access control, privileged access management, VMware vSphere and core banking. Nothing is installed until you choose it.

  1. On the Dashboards page, select Install from catalog.
  2. In Install from Catalog, search the list or open a category.
  3. Select Install next to a dashboard.

You receive your own copy, and it opens at once. Edit it like any dashboard you built. A catalogue dashboard can only show data that your appliance collects; a widget whose data source has no events shows no results.

Open the editor​

Open a dashboard and select Edit. In the editor:

  • The Name, Description and Tags fields at the top save as you leave each field.
  • The time zone selector, time range picker and Share time switch work as in the view. See View dashboards.
  • The plus button (Add dashboard content) opens a menu with Add widget, Add block and Source code.
  • Save returns you to the dashboard. Widget changes are saved when you select Apply and close or Apply, and a new position or size is saved when you let go.

Add a widget​

  1. In the editor, select Add dashboard content, then Add widget. The Configuration panel opens beside the dashboard.
  2. Write a ThreatVIS PPL query and select Search. A new widget starts with source=log_* | stats count() by log.level. See ThreatVIS PPL basics.
  3. Choose a chart type. See Dashboard widget types for what each type needs from the query, and Configure a widget for its fields, legend and style.
  4. Select Apply and close.

You do not write a time range in the query. The dashboard applies its time range to every widget.

If a query does not return the shape the chart type needs, a message explains what to change, and Apply and close stays unavailable until the query fits or you choose another chart type. A query that cannot run shows the reason in the same place.

A new widget is titled with the name of its chart type. To rename it, hover over the widget and select its gear icon; see Configure a widget.

You can also create a widget from a search: in Search, choose Save, then Dashboard Widget. See Save, share and export a search.

Each widget keeps its own query. To use a widget on another dashboard, open its menu and select Copy to dashboard.

Arrange and change widgets​

ToDo this
Move a widgetDrag its handle (Move), or focus the handle and press an arrow key.
Resize a widgetDrag the handle at its bottom-right corner, or focus it and press an arrow key. Left and right change the width, up and down the height. A widget snaps to standard sizes. While you drag, a label shows the size in columns and rows.
Edit a widgetHover over it and select the pencil icon to open its Configuration panel, or the gear icon to open its Settings.
Copy a widgetOpen its menu (Menu for the widget), then Duplicate. The copy is titled with (copy) added.
Delete a widgetOpen its menu, then Remove. It needs Dashboards: Delete.

The grid is 12 columns wide. The layout is saved each time you finish a move or a resize.

Add a text block​

A text block puts a note, a heading or an instruction between widgets.

  1. Select Add dashboard content, then Add block.
  2. Type in the new block. The text saves when you click outside it.

A block has a menu with Duplicate and Delete, and you move and resize it like a widget.

A Table or Event list widget can give each row a link that opens the Case. Add a field named case_link that holds the Case ID. Use eval case_link = _id on a query over Cases:

source=cases | where case.status = "Open" | sort @timestamp | head 5 | eval case_link = _id | fields case_link, @timestamp, rule.name, risk.level

The case_link column is titled Case, and each row shows Open. Selecting it opens that Case's page. To open the Case you need Cases: Read. The dashboards Security Posture, Case Performance and SLA Monitoring from the catalogue use this.

Compare a number card with the previous period​

A Metric card can show how its number changed from the period before. Under the number it shows one of these:

TextMeaning
▲ 12% from previous periodThe number rose by that percentage.
▼ 12% from previous periodThe number fell by that percentage.
No change from previous periodThe number is the same, to the nearest percent.
New in this periodThe previous period had none.

The previous period is the same length as the one on screen and ends where it starts. For the default Last 24 Hours, it is the 24 hours before that. Nothing shows when both periods are zero.

The comparison appears on Metric cards that do not use Show trend. Many number cards in the catalogue dashboards show it, for example Cases Raised in Security Posture.

Edit a dashboard as JSON​

Source code shows the whole dashboard as JSON: its name, description, Share time setting and every widget with its title, type, query, layout and options.

  1. Select Add dashboard content, then Source code.
  2. Edit the JSON.
  3. Select Apply, then Replace widgets to confirm.
warning

Apply deletes every widget and data source on the dashboard and creates the ones in the JSON. It cannot be undone. A message reports any widget that could not be applied.

Delete a dashboard​

  1. On the Dashboards page, tick the dashboard's checkbox. You can tick several.
  2. Select Delete 1 dashboard (or the count you ticked), then Delete to confirm.

This needs Dashboards: Delete. A Managed dashboard cannot be ticked.

Next steps​