Install the Splunk Extension for Visual Studio

There are several ways to install the Splunk extension for Visual Studio.

Download the extension

You can download the extension from the Splunk website. Click the green Download the extension button to the right. Double-click the .VSIX file. Visual Studio opens automatically and installs the extension. You will need to restart Visual Studio before you can use the extension.

Visual Studio Gallery

To install the Splunk extension for Visual Studio from the Visual Studio Gallery:

  1. In Visual Studio, on the Tools menu, click Extensions and Updates.

  2. In the Extensions and Updates dialog box, in the left pane, expand Online and click Visual Studio Gallery.

  3. In the Search Visual Studio Gallery box in the right pane, type splunk. "Splunk extension for Visual Studio" appears in the middle pane.

  4. Click the Download button next to the extension's name.

  5. If the extension doesn't open immediately after downloading, double-click it to install it.

  6. In the VSIX Installer window, select the version of Visual Studio in which you want to install the extension, and then click Install.

  7. When the install is finished, click Close.

  8. To start using the extension, restart Visual Studio.

Now that the Splunk extension for Visual Studio is installed, you can create a Visual Studio project that is ready for development using the Splunk SDK for C#.