Skip to content

splunk get-search-job-results

List search job results by ID.


List search job results by ID.


splunk get-search-job-results
    --site <site>
    [--count <count>]
    [--sort_key <sort_key>]
    [--sort_dir <sort_dir>]


site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default:      Attributes: required

count - (int)

     Limit the number of results returned. Set 0 to return all results.
     Example: --count 0
     Default: 0      Attributes: optional

sort_key - (string)

     Field name to use for sorting.
     Example: --sort_key "updated"
     Default: updated      Attributes: optional

sort_dir - (string)

     Response sort order.
     Example: --sort_dir "sort_dir-1"
     Default: _None_      Attributes: optional

         allowed values: asc, desc

sid - (string)

     Individual command to be fetched.
     Example: "sid-1"
     Default: _None_      Attributes: required


splunk get-search-job-results --sort_dir "sort_dir-1" "sid-1"

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "splunk"
Service Instance
Object Type "search"
Object ID

Please see Access Control for details.