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
Get Updates on the Splunk Community!

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...