This document details how to use the REST API to perform actions on a given sid:
http://docs.splunk.com/Documentation/Splunk/6.3.3/RESTREF/RESTsearch#search.2Fjobs.2F.7Bsearch_id.7D.2Fcontrol
One of the commands is setpriority which is documented as:
setpriority: Sets the priority of the search process. Arguments: priority=<0-10>
But it's unclear what the different values would do to a search. By default it seems most ad-hoc searches are given a priority value of 5.
If I have a query that I need to run with a higher priority (i.e. given preferential treatment over other searches running at priority level 5), should I set the priority level to 4 or 6? Is a priority level of 0 the most preferred, or is it 10? Or am I mis-interpreting what priority means on a search?
... View more