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 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...