Explore keyboard shortcuts
Use keyboard shortcuts to work in Explore without reaching for the mouse: run and pause queries, move between tabs, open saved views, show or hide the chart and the fields panel, turn Focus mode on or off, and move through the results grid.
Open the shortcuts list
Explore lists every shortcut in a Keyboard shortcuts popup. To open it, do one of the following:
- Select the more actions menu at the end of the query bar, then select Keyboard shortcuts.
- Press Shift + Option + K (Mac) or Shift + Alt + K (Windows and Linux).
The popup groups shortcuts into Query, Tabs, Saved views, Grid, Panels, and General, and shows the key labels for your operating system: ⌘ and Option on Mac, Ctrl and Alt on Windows and Linux.
You don't have to open the popup to find a shortcut. Hover over an Explore action that has one, such as Run, the time picker, query history, or the chart and fields toggles, and its tooltip shows the keys next to the action name. The more actions menu shows each item's shortcut the same way.
How shortcuts behave
- Most Explore shortcuts use Shift + Option (Mac) or Shift + Alt (Windows and Linux), because the browser reserves most ⌘ and Ctrl combinations, such as opening a new window or tab.
- Shortcuts match the physical key, so they work on non-US keyboard layouts.
- Shortcuts don't run while a dialog is open.
- Single-key shortcuts, such as /, don't run while you type in a text field or the query editor.
Query
| Action | Mac | Windows and Linux |
|---|---|---|
| Run the query | ⌘ + Enter | Ctrl + Enter |
| Pause the running query | Shift + Option + P | Shift + Alt + P |
| Switch between Builder and Lucene | Shift + Option + B | Shift + Alt + B |
| Set the Builder logic to AND | Shift + Option + A | Shift + Alt + A |
| Set the Builder logic to OR | Shift + Option + O | Shift + Alt + O |
| Open the time picker | Shift + Option + T | Shift + Alt + T |
| Focus the query editor | / | / |
| Open query history | ⌘ + Shift + H | Ctrl + Shift + H |
| Format the query | Shift + Option + F | Shift + Alt + F |
| Apply the duration filter | Enter | Enter |
Format the query applies to DataPrime queries. Switch between Builder and Lucene toggles the Builder input style between the chip builder and the Lucene editor, and Set the Builder logic to AND or OR sets how the chip builder combines its filters. For more on pausing, see Pause a running query. For query history, see Query history and saved queries.
Tabs
| Action | Mac | Windows and Linux |
|---|---|---|
| Open a new tab | Shift + Option + N | Shift + Alt + N |
| Go to the next tab | Shift + Option + ] | Shift + Alt + ] |
| Go to the previous tab | Shift + Option + [ | Shift + Alt + [ |
| Close the current tab | Shift + Option + W | Shift + Alt + W |
Moving to the next or previous tab wraps around: from the last tab, Shift + Option + ] or Shift + Alt + ] goes to the first. Close the current tab does nothing when only one tab is open. For more on tabs, see Tabs, views, and queries.
Saved views
| Action | Mac | Windows and Linux |
|---|---|---|
| Save the view | ⌘ + S | Ctrl + S |
| Open saved views | Shift + Option + V | Shift + Alt + V |
Save the view follows the same rules as the Save view button. For more on views, see Tabs, views, and queries.
Grid
| Action | Mac | Windows and Linux |
|---|---|---|
| Expand or collapse the focused row | ← / → | ← / → |
| Open row details | Enter | Enter |
| Move focus to the results grid | Shift + Option + G | Shift + Alt + G |
Move focus to the results grid puts focus on the selected row, or on the first row if none is selected, without changing the selection. From there, use the arrow keys to move between rows and cells, and press Enter to open the details panel for the highlighted row. For more on the grid, see Logs table.
Panels
| Action | Mac | Windows and Linux |
|---|---|---|
| Close popups and panels | Esc | Esc |
| Previous or next log | ↑ / ↓ | ↑ / ↓ |
Use ↑ and ↓ in the details panel to move to the previous or next log. For more on the details panel, see Log details panel.
General
| Action | Mac | Windows and Linux |
|---|---|---|
| Show keyboard shortcuts | Shift + Option + K | Shift + Alt + K |
| Show or hide the chart | Shift + Option + C | Shift + Alt + C |
| Show or hide the fields panel | Shift + Option + E | Shift + Alt + E |
| Turn Focus mode on or off | ⌘ + \ | Ctrl + \ |
| Turn Focus mode off | Esc | Esc |
