folders_global_status
Creates, updates, deletes, gets or lists a folders_global_status
resource.
Overview
Name | folders_global_status |
Type | Resource |
Id | sumologic.content.folders_global_status |
Fields
The following fields are returned by SELECT
queries:
- getGlobalFolderAsyncStatus
Asynchronous Global View job status.
Name | Datatype | Description |
---|---|---|
error | object | |
status | string | Whether or not the request is in progress (InProgress ), has completed successfully (Success ), or has completed with an error (Failed ). |
statusMessage | string | Additional status message generated if the status is not Failed . |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getGlobalFolderAsyncStatus | select | jobId , region | Get the status of an asynchronous Global View job for the given job identifier. If job succeeds, use [Global View Result] endpoint to fetch all content items that you have permissions to view. |
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.
Name | Datatype | Description |
---|---|---|
jobId | string | The identifier of the asynchronous Global View job. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
SELECT
examples
- getGlobalFolderAsyncStatus
Get the status of an asynchronous Global View job for the given job identifier. If job succeeds, use [Global View Result] endpoint to fetch all content items that you have permissions to view.
SELECT
error,
status,
statusMessage
FROM sumologic.content.folders_global_status
WHERE jobId = '{{ jobId }}' -- required
AND region = '{{ region }}' -- required
;