Deployment Architecture

how to create index using splunk sdk v2 for C# ?

lavkush39
New Member

To create index i used code which is present in github:
https://github.com/splunk/splunk-sdk-csharp-pcl/blob/master/examples/submit/Program.cs

I am able to create an index through console application but when I use the same code in web api controller it does not work. It says connection closed unexpectedly. Any help would be highly appreciated.
Thank you

Tags (3)
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...