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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...