Getting Data In

How to set "Splunk Authentication" in Splunk Java SDK?

neeldesai1992
Path Finder

I got authentication like "Splunk xyz-hnhn-hsnsnhdn-etahshd" (Of course I am putting wrong password here so don't try to encrypt it). What is this authentication? and how can I set this authentication in Splunk Java SDK?

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

Hi @neeldesai1992,

Below is good example to connect Splunk using JAVA.

http://dev.splunk.com/view/java-sdk/SP-CAAAECX

For more, Please use below links
http://dev.splunk.com/view/java-sdk/SP-CAAAEFE
http://dev.splunk.com/view/java-sdk/SP-CAAAEFH

Thanks

0 Karma

neeldesai1992
Path Finder

Thanks for sharing but as you can see in the first link, the last example they are getting connected through Basic authentication and Instead of that I have something call Splunk xyz-hnhn-hsnsnhdn-etahshd . so how can I use it to connect to splunk? If I use my credentials as a basic credentials,everything works fine but with the splunk credentials it gives authentication error.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...