searchJobManagement

Get a search job's status.

Changed on

Use the search job identifier to obtain the current status of a search job.

get/v2/search/jobs/{jobId}

Request

  • Base URL
    https://api.au.sumologic.com/api
  • Auth
    HTTP basic

Path parameters

jobIdstring required

The identifier of the search job.

Response

The search job's status.

warningstring

Warnings value contains the detailed information about the warning while obtaining the current status of a search job.

statestring

Search job state. In case you are checking status for a multi child org query, you might see another status as 'Done Gathering Partial Results' which means that the query failed for some of the child orgs. You can check their reasons in audit logs with the query Id.

messageCountinteger

Number of messages found or produced so far.

recordCountinteger

Number of records found or produced so far.

pendingWarningsstring[]

Pending warnings that have accumulated since the last time the status was requested.

pendingErrorsstring[]

Pending errors that have accumulated since the last time the status was requested.

timeElapsedinteger

Time elapsed in milliseconds since the search job started.

showLogLevelsboolean

Whether log level distribution data is available for this search job.

jobIdstring

The job identifier for this search job.

Example response

{
  "state": "DONE GATHERING RESULTS"
}

Changes

    • breaking

      the // response's property type changed from no type to object for status

    • breaking

      the response's property type changed from no type to object for status

    • breaking

      the response's property type changed from no type to object for status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • breaking

      the // response's property type changed from object to no type for status

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      the response's property type changed from object to no type for status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status