Splunk Search

What is the correct URI to logOn with .NET SDK LogOnAsync?

tbomgardner
New Member

I am trying to write a simple app that will login to Splunk and retrieve some events. I'm using the .NET SDK Splunk.Client. I can't get past the login. This is what I've got:

Service service = new Service(new Uri($"https://prd-p-32xxxxxxxxxx.cloud.splunk.com"));
service.LogOnAsync("myusername", "mypassword").Wait();

Apparently this is not the correct URI. Do you know what is? Is it even possible to do what I'm trying to do?

Thank you!

Tags (3)
0 Karma
Get Updates on the Splunk Community!

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...