Security

How do I implement a user input form I created with Java code in the Splunk Web UI?

ksolanki88
Explorer

How do I access a Java program from Splunk Web? I have created one form which takes user input on click of a submit button, but I need to figure out how to implement the Java code in Splunk Web.

0 Karma

chimell
Motivator

Hi ksolanki88
If you want to start a java program from splunk web , you must install Splunk SDK for Java
for more information follow this link : http://dev.splunk.com/java

If it satisfy you please vote my answer

Note that splunk is code in Python language

0 Karma

chimell
Motivator

Hi ksolanki88
The following is a link between splunk SDK for Java and splunk web
https://github.com/splunk/splunk-sdk-java

0 Karma

ksolanki88
Explorer

Chimell, i have already gone through this link. i think my question was not clear. When i said the link between this two, i meant splunk-to-Java. i want to invoke execution of java code on splunk server which should be done by clicking on a button.
1. i have html and js form, which is client side.
2. on click of a button need to send some parameters to server side.(by hitting some another page)
3. this parameter should be handled and processed by JAVA.
in order to do that a execution must enter into java code.

0 Karma

ksolanki88
Explorer

Thanks Chimell for your response. I know that it can be done using Splunk SDK for Java but the problem is in finding out the link between this two. how to invoke a java code from splunk web side. Like in python we can write in URL dispatcher and start execution of python server side program.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...