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!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...