Skip to content

Creating Custom Views

Intermediate 10 minutes

Overview

Besides the built-in views, you can create views of your own and place them next to them: a web page such as a Grafana dashboard or a runbook, or a block of your own HTML such as team announcements. Like any view, a custom view can be added to any screen, saved in a perspective and shared.

Prerequisites

Create a view of a web page

Open the Views view

In the side menu, open CONSOLE → Views. It lists the views you own and the ones shared with you.

CONSOLE → Views in the side menu

Click +

Click + in the Views toolbar to open Create View. The ☰ menu opens the same window from CONSOLE → Create View.

The + button in the Views toolbar

Choose the type

Enter a Label, the name the view's tab shows, and pick the Type: URL to embed a web page, HTML for your own content.

The Type list in Create View

Enter the address

With URL, put the page's address in Content, then click Create. The view opens on the screen you are on.

A URL view in Create View

Tip

Use an https:// address. The site must allow being embedded in another page; many sign-in pages and some dashboards refuse it.

Create a view of your own HTML

Choose HTML and enter it

Open Create View as above, enter a Label, choose HTML and type or paste the markup in Content:

<div style="padding: 20px">
  <h2>Team announcements</h2>
  <p>Sprint planning: Monday 10:00</p>
</div>

Click Create.

An HTML view in Create View

Add an existing view to a screen

Use Add View

From the ☰ menu, CONSOLE → Add View puts any view you have on the screen you are on, custom ones included. Pick it in Views, or type to search, and click Add View.

The Add View window with its list open

Manage your views

Right-click a view

In the Views view, right-click a view:

  • Update: change its type or content
  • Customize: change its label
  • Share: give users, groups or organizations access to it
  • Publish: offer it in the Marketplace
  • Bookmarks: add it to or remove it from your bookmarks
  • Delete…: remove it, for everyone it is shared with

Sharing a perspective shares the views in it, so a custom view saved in a shared perspective reaches everyone that perspective is shared with.

The right-click menu of a view

Keep it

To keep the screen your new view is on, save it as a perspective: Layout → Save as New Perspective…, then a Perspective Name and Create Perspective. It appears at the top of the side menu, so you can go back to it in one click, and you can share it.

Good practice

  • Keep HTML views short and self-contained, with inline styles and no scripts
  • Prefer a URL view for anything that changes often, so it stays up to date at the source
  • Share custom views through a perspective, so they arrive arranged

Next Steps