Splunk Dev

Default Host & Port for C# SDK and SplunkStorm?

citysourced
New Member

I'm using SplunkStorm and I'm trying to connect to the hosted service. All the examples state "localhost" and "8089" for the host and port. Since the service is hosted, am I wrong in assuming these values should be different?

What should my values be for the code below?

var service = new Service("[host]", [port]);
service = service.Login("[username]", "[pasword]");

Thanks!

Tags (2)
0 Karma

Neeraj_Luthra
Splunk Employee
Splunk Employee

The Splunk SDK for C# does not currently support any APIs on Storm.

amunk_splunk
Splunk Employee
Splunk Employee

Hey citysourced. The API is pretty easy to use, even though there's no SDK support yet. Check out API documentation at http://docs.splunk.com/Documentation/Storm/latest/User/UseStormsRESTAPI. You'll have to use your HTTP library of choice for C#.

But there are other means of getting data in too. Let me know if you want to chat.

Alex Munk
Product Management
Splunk Storm

0 Karma

citysourced
New Member

Are there examples on how to hook up Storm to an application? If we have to use their Web UI to load data, it's pretty worthless to us.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...