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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...