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!

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...

.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 ...