Splunk Search

how to run splunk query programmateically

rohitgupta2476
New Member

Hi Experts ,

We are using Splunk UI to search Logged data. I am planning to create a java program and run queries to extract data for reporting purpose.

Can you please suggest if i have splunk url , username and password , splunk query . what would be java code to connect andr un queries. !!

thanks in advance

Regards
Rohit gupta

Tags (1)
0 Karma

sundareshr
Legend

You can use REST APIs to manage Splunk and get access to data

http://docs.splunk.com/Documentation/Splunk/6.4.0/RESTUM/RESTusing

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...