-
Notifications
You must be signed in to change notification settings - Fork 25
Commands
PKing70 edited this page Jan 23, 2020
·
9 revisions
Commands can be accessed via the Command palette. Some commands are also available in the Splunk view container in the action bar.
Ctrl + Shift + P
⌘ + Shift + P (Mac)
-
splunk.search.adhoc
- runs an ad-hoc search. Results render in the Splunk channel in the OUTPUT view tab. -
splunk.savedSearch.run
- runs a Splunk Enterprise saved search. Results render in the Splunk channel in the OUTPUT view tab. -
splunk.savedSearches.refresh
- requests saved searches from the configured Splunk Enterprise instance. -
splunk.new.modviz
- creates scaffolding for a Splunk Enterprise custom visualization. -
splunk.new.command
- creates scaffolding for a Splunk Enterprise custom search command.
- Configure the
Splunk Enterprise REST URL
setting in Visual Studio Code. - Configure the
Token
setting in Visual Studio Code.
For more information, see Extension Settings.
- Open the command palette.
- Enter
Splunk: Run Saved Search
. - Choose a saved search from the dropdown menu.
- Results will be written to the
OUTPUT
console.
- Configure the
Splunk Enterprise REST URL
setting in Visual Studio Code. - Configure the
Token
setting in Visual Studio Code. - Set the
Enable Splunk Explorer
setting in Visual Studio Code to enabled.
For more information, see Extension Settings.
- Select the Splunk Explorer item in the activity bar.
- Expand Saved Searches.
- Click the search icon.