Create Projects from Templates - splunk/vscode-extension-splunk GitHub Wiki
The Visual Studio Extension for Splunk includes commands to create project template scaffolding. Everything is set up for you automatically (including any post-build scripts) so you can start coding easily.
Create a Custom Visualization
- Open the Command palette.
- Type
>Splunk: New Custom Visualization
. - Select a destination for the visualization.
- Select a name for the visualization.
A new Visual Studio Code instance runs with visualization_source.js
file opened. This file is where most Custom Visualization code goes. Splunk documentation also opens for more information on Custom Visualizations.
Create a Custom Search Command
- Open the Command palette.
- Type
>Splunk: New Custom Command
. - Select a destination for the visualization.
- Select a name for the command app.
A new Visual Studio Code instance runs with the app folder opened. Splunk documentation also opens for more information on Custom Search Commands.