
| rest /services/search/jobs count=0 splunk_server=local | search isSaved=1 2. Use the strict argument to override the restprocessor_errors_fatal setting for a rest search. If you use Splunk Cloud Platform, file a Support ticket to change the restprocessor_errors_fatal setting. You can set this at the system level for all rest searches by changing restprocessor_errors_fatal in nf. Use the strict argument to make rest searches fail whenever they encounter an error condition. The rest command authenticates using the ID of the person that runs the command. Specify timeout=0 to indicate no limit on the time to wait for the REST endpoint to respond. Default: false timeout Syntax: timeout= Description: Specify the timeout, in seconds, to wait for the REST endpoint to respond. Certain error conditions cause the search to fail even when strict=false. When set to false, many rest error conditions return warning messages but do not otherwise cause the search to fail. This happens even when the errors apply to a subsearch. strict Syntax: strict= Description: When set to true this argument forces the search to fail completely if rest raises an error. You can specify a wildcard character in the string to indicate multiple server groups. Description: Limits the results to one or more server groups. Default: All configured search peers return information splunk_server_group Syntax: splunk_server_group=. For example, you can specify splunk_server=peer01 or splunk_server=peer*. You can specify only one splunk_server argument, However, you can use a wildcard character when you specify the server name to indicate multiple servers. splunk_server Syntax: splunk_server= Description: Specifies the distributed search peer from which to return results.

See the Splunk Cloud Platform REST API Reference Manual. get-arg-value Syntax: Description: REST argument value for the REST endpoint.

Default: 0 get-arg-name Syntax: Description: REST argument name for the REST endpoint. This results in a total limit of 125000, which is 25000 x 5. For example, you have four indexers and one search head.

Optional arguments count Syntax: count= Description: Limits the number of results returned from each REST call. Required arguments rest-uri Syntax: Description: URI path to the Splunk REST API endpoint. For information about Splunk REST API endpoints, see the REST API Reference Manual. Splunk Enterprise For information about the REST API, see the REST API User Manual. Splunk Cloud Platform For information about Splunk REST API endpoints, see the REST API Reference Manual. The rest command reads a Splunk REST API endpoint and returns the resource data as a search result.
