- 
                Notifications
    
You must be signed in to change notification settings  - Fork 27
 
Commands
        JasonConger edited this page Jan 11, 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 + P
⌘ + P (Mac)
- 
splunk.search.adhoc- run an ad-hoc search. Results render in Splunk channel in the OUTPUT view tab. - 
splunk.savedSearch.run- runs a Splunk saved search. Results render in Splunk channel in the OUTPUT view tab. - 
splunk.savedSearches.refresh- requests Saved searches from the configured Splunk instance - 
splunk.new.modviz- creates scaffolding for a Splunk custom visualization - 
splunk.new.command- creates scaffolding for a Splunk custom search command - 
splunk.embeddedReport.show- shows a Splunk embedded report in a Visual Studio Code panel 
- Configure the 
Splunk REST URLsetting in Visual Studio Code - Configure the 
Tokensetting in Visual Studio Code 
For more information, refer the the extension settings page.
- Open the command palette
 - 
>Splunk: Run Saved Search+ Enter - Choose a saved search from the dropdown menu
 - Results will be written to the 
OUTPUTconsole 

- Configure the 
Splunk REST URLsetting in Visual Studio Code - Configure the 
Tokensetting in Visual Studio Code - 
Enable Splunk Explorersetting Visual Studio Code is enabled 
For more information, refer the the extension settings page.
- Select the Splunk Explorer item in the activity bar
 - Expand Saved Searches
 - Click the search icon
 
