Splunk Search

how can i get jobid from splunk?

Alan_Bradley
Path Finder

what are the steps to get running jobid in splunk. after gettign the jobid can i put it in https://localhost:8089/services/search/jobs/jobid/results?output_mode=xml

0 Karma
1 Solution

matt
Splunk Employee
Splunk Employee

When you do a GET for the https://localhost:8089/services/search/jobs endpoint you should get a list of all current running dispatch jobs. More detail information can be found at http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTsearches#REST_endpoints_for_searches

View solution in original post

matt
Splunk Employee
Splunk Employee

When you do a GET for the https://localhost:8089/services/search/jobs endpoint you should get a list of all current running dispatch jobs. More detail information can be found at http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTsearches#REST_endpoints_for_searches

sideview
SplunkTrust
SplunkTrust

note that if it's a job id for a search that you're dispatching yourself, the sid value is itself returned from the dispatch POST and you can just use that.

0 Karma
Get Updates on the Splunk Community!

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

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...