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 Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...