Skip to content

splunk/vscode-extension-splunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

22c2961 · Oct 20, 2023
Oct 5, 2023
Aug 23, 2023
Aug 2, 2022
Oct 20, 2023
Jan 25, 2021
Aug 24, 2021
Aug 23, 2022
Jul 7, 2023
Sep 7, 2023
Jan 11, 2023
Aug 30, 2022
Aug 30, 2022
Sep 12, 2023
Jul 12, 2023
Oct 20, 2023
Dec 24, 2019
Sep 11, 2023
Jul 1, 2021
Oct 19, 2023
Oct 20, 2023
Jan 11, 2023
Jun 2, 2023
Nov 18, 2019
Aug 17, 2023
Aug 17, 2023
Jul 12, 2023

Repository files navigation

Visual Studio Code Extension for Splunk

GitHub Workflow StatusGitHub Workflow Status

The Visual Studio Code Extension for Splunk helps developers create, test, and debug Splunk Enterprise apps, add-ons, custom commands, REST handlers, etc. The extension helps Splunk administrators edit Splunk .conf files by providing stanza and setting completions as well as setting checking. For individuals living in Visual Studio Code, integrations are built in to run Splunk searches and display Splunk visualizations in Visual Studio Code.

Working with .conf files

Splunk Extension Demo

  • Syntax highlighting for .conf files
  • IntelliSense for stanzas and parameters
  • Stanza folding
  • Linting

Splunk Notebooks

Splunk Notebooks provide the ability to author SPL Notes, execute SPL Notes as search jobs, and view results in Visual Studio Code. Splunk Notebooks works for both SPL and SPL2.

Splunk Notebooks

Running Saved Searches

Visual Studio Code communicates with the Splunk REST API to enumerate saved searches and displays the reports in the editor.

Splunk Saved Search

Viewing Reports

Visual Studio Code communicates with the Splunk REST API to enumerate reports and displays the reports in the editor.

Splunk Report

Debugging Splunk Code

This extension also provides capabilities for debugging user-generated Python code run by Splunk Enterprise (local or remote):

  • Debug configurations
  • Breakpoints
  • Step into/over
  • Variable inspection

Splunk Enterprise can be running on the same machine as Visual Studio Code, on a remote machine, in a container, or on a public cloud provider.

Documentation

Documentation can be found in the wiki hosted on the public repository.

https://github.com/splunk/vscode-extension-splunk/wiki

Support

This software is released as-is. Splunk provides no warranty and no support on this software. If you have any issues with the software, please file an issue on the repository.