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 App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...