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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...