This topic provides an overview of dashboard features and shortcuts, and describes how to use dashboard search.
Dashboard feature overview
The dashboard user interface provides a number of features that you can use to customize the presentation of your data.
The following image and descriptions highlights all dashboards features.
- Grafana home (1): Click the Grafana home icon to be redirected to the home page configured in the Grafana instance.
- Dashboard title (2): When you click the dashboard title you can search for dashboard contained in the current folder.
- Share dashboard (3): Use this option to share the current dashboard by link or snapshot. You can also export the dashboard definition from the share modal.
- Add panel (4): Use this option to add a panel, dashboard row, or library panel to the current dashboard.
- Dashboard settings (5): Use this option to change dashboard name, folder, and tags and manage variables and annotation queries. For more information about dashboard settings, refer to Modify dashboard settings
- Time picker dropdown (6): Click to select relative time range options and set custom absolute time ranges.
- You can change the Timezone and fiscal year settings from the time range controls by clicking the Change time settings button.
- Time settings are saved on a per-dashboard basis.
- Zoom out time range (7): Click to zoom out the time range. For more information about how to use time range controls, refer to Common time range controls.
- Refresh dashboard (8): Click to immediately trigger queries and refresh dashboard data.
- Refresh dashboard time interval (9): Click to select a dashboard auto refresh time interval.
- View mode (10): Click to display the dashboard on a large screen such as a TV or a kiosk. View mode hides irrelevant information such as navigation menus. For more information about view mode, refer to How to Create Kiosks to Display Dashboards on a TV.
- Dashboard panel (11): The primary building block of a dashboard is the panel. To add a new panel, dashboard row, or library panel, click Add panel.
- Library panels can be shared among many dashboards.
- To move a panel, drag the panel header to another location.
- To resize a panel, click and drag the lower right corner of the panel.
- Graph legend (12): Change series colors, y-axis and series visibility directly from the legend.
- Search (13): Click Search to search for dashboards by name or panel title.
- Dashboard row (14): A dashboard row is a logical divider within a dashboard that groups panels together.
- Rows can be collapsed or expanded allowing you to hide parts of the dashboard.
- Panels inside a collapsed row do not issue queries.
- Use repeating rows to dynamically create rows based on a template variable.
Grafana has a number of keyboard shortcuts available. Press
h on your keyboard to display all keyboard shortcuts available in your version of Grafana.
Ctrl+S: Saves the current dashboard.
f: Opens the dashboard finder / search.
d+k: Toggle kiosk mode (hides the menu).
d+e: Expand all rows.
d+s: Dashboard settings.
Ctrl+K: Opens the command palette.
Esc: Exits panel when in fullscreen view or edit mode. Also returns you to the dashboard from dashboard settings.
By hovering over a panel with the mouse you can use some shortcuts that will target that panel.
e: Toggle panel edit view
v: Toggle panel fullscreen view
ps: Open Panel Share Modal
pd: Duplicate Panel
pr: Remove Panel
pl: Toggle panel legend
Set dashboard time range
Grafana provides several ways to manage the time ranges of the data being visualized, for dashboard, panels and also for alerting.
This section describes supported time units and relative ranges, the common time controls, dashboard-wide time settings, and panel-specific time settings.
Time units and relative ranges
Grafana supports the following time units:
Q (quarters) and
The minus operator enables you to step back in time, relative to now. If you want to display the full period of the unit (day, week, month, etc…), append
/<time unit> to the end. To view fiscal periods, use
fQ (fiscal quarter) and
fy (fiscal year) time units.
The plus operator enables you to step forward in time, relative to now. For example, you can use this feature to look at predicted data in the future.
The following table provides example relative ranges:
|Example relative range||From:||To:|
|Last 5 minutes|
|The day so far|
|This week so far|
|This month so far|
|This year so far|
|Previous fiscal year|
Note about Grafana Alerting
For Grafana Alerting, we do not support the following syntaxes at this time.
- now+n for future timestamps.
- now-1n/n for “start of n until end of n” because this is an absolute timestamp.
Common time range controls
The dashboard and panel time controls have a common UI.
The following sections define common time range controls.
Current time range
The current time range, also called the time picker, shows the time range currently displayed in the dashboard or panel you are viewing.
Hover your cursor over the field to see the exact time stamps in the range and their source (such as the local browser).
Click the current time range to change it. You can change the current time using a relative time range, such as the last 15 minutes, or an absolute time range, such as
2020-05-14 00:00:00 to 2020-05-15 23:59:59.
Relative time range
Select the relative time range from the Relative time ranges list. You can filter the list using the input field at the top. Some examples of time ranges include:
- Last 30 minutes
- Last 12 hours
- Last 7 days
- Last 2 years
- Day before yesterday
- This day last week
- Today so far
- This week so far
- This month so far
Absolute time range
You can set an absolute time range in the following ways:
- Type values into the From and To fields. You can type exact time values or relative values, such as
now-24h, and then click Apply time range.
- Click in the From or To field. Grafana displays a calendar. Click the day or days you want to use as the current time range and then click Apply time range.
This section also displays recently used absolute ranges.
Zoom out (Cmd+Z or Ctrl+Z)
Click the Zoom out icon to view a larger time range in the dashboard or panel visualization.
Zoom in (only applicable to graph visualizations)
Click and drag to select the time range in the visualization that you want to view.
Click the Refresh dashboard icon to immediately run every query on the dashboard and refresh the visualizations. Grafana cancels any pending requests when you trigger a refresh.
By default, Grafana does not automatically refresh the dashboard. Queries run on their own schedule according to the panel settings. However, if you want to regularly refresh the dashboard, then click the down arrow next to the Refresh dashboard icon and then select a refresh interval.
Control the time range using a URL
You can control the time range of a dashboard by providing the following query parameters in the dashboard URL:
from: Defines the lower limit of the time range, specified in
epoch, or relative time
to: Defines the upper limit of the time range, specified in
epoch, or relative time
time.window: Defines a time range from
time+time.window/2. Both parameters should be specified in
ms. For example
?time=1500000000000&time.window=10000results in 10s time range from 1499999995000 to 1500000005000
Related Grafana resources
Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.
Getting started with Grafana Enterprise and observability
Join the Grafana Labs team for a 30-minute demo of how to get started with the Grafana Stack, so you can go from zero to observability in just a few minutes.