Splunk Dev

Splunk C# SDK

EStallcup
Path Finder

So I've read that there is a C# SDK in the works for interacting with Splunk services. I am in the midst of designing a Splunk REST API wrapper, but don't want to re-invent the wheel if this is already included in the C# SDK toolset.

With that in mind, does anyone know where I could get my hands on a copy of the SDK?

Tags (4)
1 Solution

Neeraj_Luthra
Splunk Employee
Splunk Employee

We do have a Splunk C# but it is currently in its early stages. Email me your Github Id at [email protected] and I will give you access to the private repo on github. Looking for some feedback prior to going public.

-Neeraj.

View solution in original post

Neeraj_Luthra
Splunk Employee
Splunk Employee

We do have a Splunk C# but it is currently in its early stages. Email me your Github Id at [email protected] and I will give you access to the private repo on github. Looking for some feedback prior to going public.

-Neeraj.

Neeraj_Luthra
Splunk Employee
Splunk Employee

We are working towards adding more documentation and examples to the SDK. In the meantime, given that there is no back slash in the path for .splunkrc, I suggest that you check the values for HOMEDRIVE and HOMEPATH env variables.

0 Karma

jmsummitt
New Member

I downloaded the SDK. I can add it to the project, but I haven't been able to find documentation or examples. SDK itself won't run its unit tests:

UnitTests Unable to create instance of class UnitTests.InputTest. Error: System.IO.DirectoryNotFoundException: Could not find a part of the path 'H:.splunkrc'..

Path is present and accessible, don't know why it's doing that.

It should be possible to add the API as a service reference; it's not right now because wsdl and disco files are missing. Given those files, SDK would be unnecessary.

Neeraj, what's the status at present? Thanks.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

A Four-Part Event Series: State of Observability - Where AI Meets Performance

As AI agents take on more complex tasks, teams need greater visibility into how they behave, what they cost, ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Build resilience for the agentic era: Join us at Splunk Go San Jose

AI is changing how organizations build, operate, and secure digital services. As teams adopt AI agents and ...