Splunk Cloud Platform

Search Experience preview

This documentation does not apply to the most recent version of Splunk Cloud Platform. For documentation on the most recent version, go to the latest release.

Keyboard shortcuts

You can use keyboard shortcuts to perform actions while in a Search Module or the SPL Editor.

Keyboard shortcuts in a Search Module

The following table lists the shortcuts you can use while in a Search Module.

Action Linux / Windows macOS
Save the module Control+S Command+S

Keyboard shortcuts in the SPL Editor

The following table lists the shortcuts you can use while in the SPL Editor.

Action Linux / Windows macOS
Run the selected search Control+Enter Command+Enter
Find Control+F Command+F
Open or close SPL2 help.

Documentation appears for the part of the SPL your cursor is on, such as command names, function names, or parameters.

Control+Space Control+Space
Collapse the active statement Control+Shift+[ Command+Opt+[
Expand the active statement Control+Shift+] Command+Opt+]
Collapse all statements Control+K+0 (zero) or Control+K then Control+0 (zero) Command+ K+0 (zero)
Expand all statements Control+K Command+K+J
Comment out

Adds a line comment // to the line.

Control+/ Command+/
Comment in

Removes the line comment // from a line.

Control+/ Command+/
Undo Control+Z Command+Z
Redo Control+Y Command+Z
Decrease indent Control+[ Command+[
Increase indent Control+] Command+]
Move the contents of the current line down Alt+Down Option+Down
Move the contents of the current line line up Alt+Up Option+Up
Replace Control+F Command+Option+F
Select all Control+A Command+A
Select downward Shift+Down Shift+Down
Select right one character Shift+Right Shift+Right
Select left one character Shift + Left Shift + Left
Select upward Shift+Up Shift+Up
Select to the end Alt+Shift+Right Command+Shift+Right
Select to the start Alt+Shift+Left Command+ Shift+Left
Move cursor right to the end of the line Control+Right Command+Right
Move cursor left to the start of the line Control+Left Command+Left
Add multi-cursor above Control+Alt+Up Command+Option+Up
Add multi-cursor below Control+Alt+Down Command+Option+Down
Add multi-cursor above Control+Alt+Shift+Up Command+Option+Shift+Up
Move multi-cursor from current line to the line below Control+Alt+Shift+Down Command+Option+Shift+Down

See also

Related information
Search Experience overview
Get started searching
Search using SPL2
Last modified on 11 November, 2023
Extract fields in a search   Syntax highlighting

This documentation applies to the following versions of Splunk Cloud Platform: search2preview


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters