Exam SPLK-2001 All QuestionsBrowse all questions from this exam
Question 3

Which of the following are ways to get a list of search jobs? (Select all that apply.)

    Correct Answer: A, B

    To get a list of search jobs, you can use multiple methods in Splunk. One approach is to access the jobs through the Splunk Web interface by going to Activity > Jobs. This will provide a list of search jobs associated with the user's account. Additionally, the Splunk REST API can be used to query the /services/search/jobs endpoint, which is specifically designed to list search jobs. This endpoint allows you to programmatically access and manage search jobs. While other REST endpoints like /services/saved/searches and /services/search/sid/results exist, they serve different purposes such as managing saved searches and retrieving specific search results, respectively, and are not intended for listing search jobs.

Discussion
ucsdmiami2020Options: AB

Agreed A and B. Per the Splunk Reference URLs. https://docs.splunk.com/Documentation/Splunk/8.2.2/Search/SupervisejobswiththeJobspage "Manage Search jobs. You can use the Jobs page to review and manage any job that you own. In Splunk Web, to view a list of your jobs select Activity > Jobs. This opens the jobs page." https://docs.splunk.com/Documentation/Splunk/8.2.2/RESTTUT/RESTsearches "/saved/searches --> Create or access the configuration of saved searches. /search/jobs --> Create searches or access the results of search jobs." https://docs.splunk.com/Documentation/Splunk/8.2.2/RESTREF/RESTsearch#GET_search.2Fjobs search/jobs https://<host>:<mPort>/services/search/jobs List search jobs. saved/searchs https://<host>:<mPort>/services/saved/searches Access and create saved searches. "Does not explicitly state that it lists searches"