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 |
Control+/ | Command+/ |
Comment in Removes the line comment |
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
Extract fields in a search | Syntax highlighting |
This documentation applies to the following versions of Splunk Cloud Platform™: search2preview
Feedback submitted, thanks!