Skip to main content

folders_import_status

Creates, updates, deletes, gets or lists a folders_import_status resource.

Overview

Namefolders_import_status
TypeResource
Idsumologic.content.folders_import_status

Fields

The following fields are returned by SELECT queries:

The status of the import job.

NameDatatypeDescription
errorobject
statusstringWhether or not the request is in progress (InProgress), has completed successfully (Success), or has completed with an error (Failed).
statusMessagestringAdditional status message generated if the status is not Failed.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getAsyncImportStatusselectfolderId, jobId, regionisAdminModeGet the status of a content import job for the given job identifier.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
folderIdstringThe identifier of the folder to import into.
jobIdstringThe identifier of the import request.
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)
isAdminModestringSet this to "true" if you want to perform the request as a Content Administrator.

SELECT examples

Get the status of a content import job for the given job identifier.

SELECT
error,
status,
statusMessage
FROM sumologic.content.folders_import_status
WHERE folderId = '{{ folderId }}' -- required
AND jobId = '{{ jobId }}' -- required
AND region = '{{ region }}' -- required
AND isAdminMode = '{{ isAdminMode }}'
;