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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

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 ...