Splunk Enterprise

How to authenticate an app using the Splunk Java SDK without a username and password?

pruthaMunshi
New Member

Hey,

I have created an app that uses the Splunk Java SDK (Java) to connect and post data to Splunk. The method uses username and password to authenticate and connect to Splunk. But when I will publish my app, I don't want to ask users to give their credentials in order to connect to Splunk.

Also, I have already used the the authentication method which uses token, but to get a token, I have to give the credentials at initial start.

Is there any way we can connect and post data without specifying credentials?

Thanks

0 Karma

john665544
New Member

There are various ways to connect and post data without users credentials. You can visit from Contact Arlo support to get the exact solution. You can also get the implementation details of your problem.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You're looking for the HTTP Event Collector (HEC): http://dev.splunk.com/view/event-collector/SP-CAAAE6M

You'll generate and revoke tokens centrally, no password needed on the app side.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Sure, the link I provided has a page for logging from Java.

0 Karma

pruthaMunshi
New Member

Can we implement the http event collector into my app using java?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...